Add OUTPUT_ON_FAILURE and NO_TESTS_ACTIONS=error to CTest GHA actions

This commit is contained in:
Martin Hořeňovský committed 2026-01-03 14:07:25 +01:00
1 parent ec4dcbf9cb
commit b81ef2aa2e
6 files changed
+28 -4

No files matched your search

+5 -1
View File
@@ -2,6 +2,10 @@ name: Windows Builds (Basic)
on: [push, pull_request]
env:
CTEST_OUTPUT_ON_FAILURE: 1
CTEST_NO_TESTS_ACTION: error
jobs:
build:
name: ${{matrix.os}}, ${{matrix.std}}, ${{matrix.build_type}}, ${{matrix.platform}}
@@ -27,5 +31,5 @@ jobs:
shell: cmd
- name: Run tests
run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure
run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
shell: cmd