Skip to content

Commit 1b63e03

Browse files
committed
Add nightly check to install script test workflow
This workflow job verifies the installation script's support for the nightly build.
1 parent 82cbd36 commit 1b63e03

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

0 commit comments

Comments
 (0)