From 548bc950235d58819759aa6e62271faabda81b97 Mon Sep 17 00:00:00 2001 From: Donnie-Ice Date: Fri, 6 Dec 2024 13:59:47 -0500 Subject: [PATCH] [nasa/nos3#407] Read coverage for whole directory --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0947bc02..372db851 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,8 +59,8 @@ jobs: run: make coverage-sample - name: Generate Coverage Report run: | - lcov --capture --directory ./fsw/build/amd64-posix/default_cpu1 --output-file coverage.info - lcov --remove coverage.info './fsw/build/amd64-posix/default_cpu1/*' --output-file coverage.info + lcov --capture --directory . --output-file coverage.info + lcov --remove coverage.info './*' --output-file coverage.info genhtml coverage.info --output-directory coverage - name: Upload Coverage Report as Artifact uses: actions/upload-artifact@v3