Skip to content

Commit

Permalink
Issue #5 - Remove externals from code coverage report.�
Browse files Browse the repository at this point in the history
  • Loading branch information
vldtecno committed Apr 1, 2024
1 parent 2eaee3b commit c937840
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@ jobs:

- name: TestCoverageData
working-directory: ${{github.workspace}}/build/
run: geninfo --no-external "./PTN_Engine" -b "../" -o coverage.info
run: geninfo "./PTN_Engine" -b "../" -o coverage.info

- name: Remove externals from coverage
working-directory: ${{github.workspace}}/build/
run: lcov --remove coverage.info "/usr/include/*" "/usr/local/*" "*googletest/*" -o filtered_coverage.info

- name: TestCoverageReport
working-directory: ${{github.workspace}}/build/
run: mkdir Output; genhtml coverage.info -o Output/CoverageReport
run: mkdir Output; genhtml filtered_coverage.info -o Output/CoverageReport

- name: Install Doxygen
run: sudo apt-get -y install graphviz librsvg2-bin doxygen
Expand Down

0 comments on commit c937840

Please sign in to comment.