From ac09aae44abff552d208638a381585b19d3c9cb7 Mon Sep 17 00:00:00 2001 From: Donnie-Ice Date: Fri, 6 Dec 2024 13:32:15 -0500 Subject: [PATCH] [nasa/nos3#407] Remove coverage from makefile --- .github/workflows/build.yml | 5 ++++- Makefile | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 901a787d..0947bc02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,10 @@ jobs: - name: sample run: make coverage-sample - name: Generate Coverage Report - run: make coverage + 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 + genhtml coverage.info --output-directory coverage - name: Upload Coverage Report as Artifact uses: actions/upload-artifact@v3 with: diff --git a/Makefile b/Makefile index f00f1e3d..a6825148 100755 --- a/Makefile +++ b/Makefile @@ -108,11 +108,6 @@ config: coverage-sample: cd $(FSWBUILDDIR)/amd64-posix/default_cpu1 && ctest -R ".*sample.*" -coverage: - lcov --capture --directory $(FSWBUILDDIR)/amd64-posix/default_cpu1 --output-file coverage.info; - lcov --remove coverage.info '$(FSWBUILDDIR)/amd64-posix/default_cpu1/*' --output-file coverage.info; - genhtml coverage.info --output-directory coverage; - debug: ./scripts/debug.sh