Skip to content

Commit

Permalink
Use the test-dir option for CTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Skptak committed Aug 15, 2023
1 parent f5d653c commit 0a5420c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -DNDEBUG'
make -C build/ all
- name: Test
run: |
cd build/
ctest -E system --output-on-failure
cd ..
- name: Run CTests
run: ctest --test-dir build -E system --output-on-failure

- name: Run Coverage
run: |
make -C build/ coverage
Expand Down

0 comments on commit 0a5420c

Please sign in to comment.