Run all C++ tests from a single executable (#3582)
This commit is contained in:
committed by
GitHub
parent
4ff63a7960
commit
c719cce4f1
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=--coverage
|
||||
|
||||
- name: Build project
|
||||
run: cmake --build build --target build_tests
|
||||
run: cmake --build build --target test_runner --target task_executable
|
||||
|
||||
- name: Test project
|
||||
run: ctest --test-dir build -j 8 --output-on-failure
|
||||
|
||||
Reference in New Issue
Block a user