Skip to content

Commit

Permalink
[#407] Remove coverage from makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Dec 6, 2024
1 parent c0fe160 commit ac09aae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ac09aae

Please sign in to comment.