Skip to content

Commit ba610b6

Browse files
authored
Merge pull request #366 from advanced-security/knewbury01/patch-workflow-unit-tests
Fix unit test windows workflow file
2 parents acad6b6 + 215b40e commit ba610b6

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)