From 215b40e6643e47403c6839702d665b5ee61876de Mon Sep 17 00:00:00 2001 From: Kristen Newbury Date: Wed, 13 May 2026 18:12:15 -0400 Subject: [PATCH] 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 --- .github/workflows/ql-unit-tests-windows.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ql-unit-tests-windows.yml b/.github/workflows/ql-unit-tests-windows.yml index ad7190cbc..6e71de09e 100644 --- a/.github/workflows/ql-unit-tests-windows.yml +++ b/.github/workflows/ql-unit-tests-windows.yml @@ -35,7 +35,7 @@ jobs: name: ${{ matrix.test_suite }} runs-on: windows-latest strategy: - fail-fast: false + fail-fast: true matrix: test_suite: - cap-models @@ -292,7 +292,8 @@ jobs: name: windows-test-results-${{ matrix.test_suite }} path: | ${{ runner.temp }}/test-results/ - if-no-files-found: warn + # No files here would mean there was a test error overall + if-no-files-found: error - name: Upload CAP test artifacts if: ${{ always() && (matrix.test_suite == 'cap-models' || matrix.test_suite == 'cap-queries') }}