From 0a5420c2a458af6e3cfbae1161191c499338ad5a Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Mon, 14 Aug 2023 20:22:00 -0700 Subject: [PATCH] Use the test-dir option for CTest --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa708955..6814228f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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