Skip to content

Commit 215b40e

Browse files
committed
Fix unit test windows workflow file to catch no test results produced as an error not warn
also change to fail fast true for matrix no value in running some if one fails
1 parent acad6b6 commit 215b40e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ql-unit-tests-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
name: ${{ matrix.test_suite }}
3636
runs-on: windows-latest
3737
strategy:
38-
fail-fast: false
38+
fail-fast: true
3939
matrix:
4040
test_suite:
4141
- cap-models
@@ -292,7 +292,8 @@ jobs:
292292
name: windows-test-results-${{ matrix.test_suite }}
293293
path: |
294294
${{ runner.temp }}/test-results/
295-
if-no-files-found: warn
295+
# No files here would mean there was a test error overall
296+
if-no-files-found: error
296297

297298
- name: Upload CAP test artifacts
298299
if: ${{ always() && (matrix.test_suite == 'cap-models' || matrix.test_suite == 'cap-queries') }}

0 commit comments

Comments
 (0)