From d940ceaae0db5f4cadb75283a33a3eced5b9f2b4 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Fri, 17 Nov 2023 13:31:29 -0500 Subject: [PATCH] TEST- use output on failure --- .github/workflows/code-coverage.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 45153fd92..479bb03c4 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -83,18 +83,18 @@ jobs: - name: Test run: | lcov --capture --initial --directory build --output-file coverage_base.info - make -C build/native/default_cpu1/config test - make -C build/native/default_cpu1/core_api test - make -C build/native/default_cpu1/core_private test - make -C build/native/default_cpu1/es test - make -C build/native/default_cpu1/evs test - make -C build/native/default_cpu1/fs test - make -C build/native/default_cpu1/msg test - make -C build/native/default_cpu1/resourceid test - make -C build/native/default_cpu1/sb test - make -C build/native/default_cpu1/sbr test - make -C build/native/default_cpu1/tbl test - make -C build/native/default_cpu1/time test + (cd build/native/default_cpu1/config && ctest --output-on-failure) + (cd build/native/default_cpu1/core_api && ctest --output-on-failure) + (cd build/native/default_cpu1/core_private && ctest --output-on-failure) + (cd build/native/default_cpu1/es && ctest --output-on-failure) + (cd build/native/default_cpu1/evs && ctest --output-on-failure) + (cd build/native/default_cpu1/fs && ctest --output-on-failure) + (cd build/native/default_cpu1/msg && ctest --output-on-failure) + (cd build/native/default_cpu1/resourceid && ctest --output-on-failure) + (cd build/native/default_cpu1/sb && ctest --output-on-failure) + (cd build/native/default_cpu1/sbr && ctest --output-on-failure) + (cd build/native/default_cpu1/tbl && ctest --output-on-failure) + (cd build/native/default_cpu1/time && ctest --output-on-failure) - name: Calculate Coverage run: |