Skip to content

Commit

Permalink
Use ctest -j
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandreichweinbmw committed Feb 21, 2025
1 parent 59e5f17 commit b3394ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ jobs:
cmake -B cmake-build-unit-tests -S executables/unitTest -DBUILD_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE} &&
cmake --build cmake-build-unit-tests -j4 &&
# Ctest explicitly without -j:
# otherwise the output is truncated before the statistics,
# and the tests are running sequentially anyway
ctest --test-dir cmake-build-unit-tests &&
ctest --test-dir cmake-build-unit-tests -j4 &&
# Capture code coverage
lcov --no-external --capture --directory . \
Expand Down

0 comments on commit b3394ff

Please sign in to comment.