Skip to content

Commit dc22af3

Browse files
committed
[skip changelog] Add nightly check to install script test workflow
This workflow job verifies the installation script's support for the nightly build.
1 parent 643bffa commit dc22af3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test-install.yml

+26
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,29 @@ jobs:
107107
shell: bash
108108
run: |
109109
"${PWD}/bin/${{ env.TOOL_NAME }}" --version | grep --fixed-strings "${{ env.VERSION }}"
110+
111+
nightly:
112+
strategy:
113+
fail-fast: false
114+
115+
matrix:
116+
os:
117+
- ubuntu-latest
118+
- windows-latest
119+
- macos-latest
120+
121+
runs-on: ${{ matrix.os }}
122+
123+
steps:
124+
- name: Checkout local repository
125+
uses: actions/checkout@v2
126+
127+
- name: Run script with nightly build version argument
128+
shell: sh
129+
run: |
130+
"${{ github.workspace }}/etc/install.sh" "nightly-latest"
131+
132+
- name: Verify installation
133+
shell: bash
134+
run: |
135+
"${PWD}/bin/${{ env.TOOL_NAME }}" --version | grep "^nightly-"

0 commit comments

Comments
 (0)