Skip to content

Commit

Permalink
Added ignoring of test folder in code coverage report.
Browse files Browse the repository at this point in the history
  • Loading branch information
qoala101 committed May 30, 2023
1 parent bdd26c6 commit 042ff01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Record coverage
run: |
llvm-profdata merge -sparse ./default.profraw -o default.profdata
llvm-cov export --format=lcov --instr-profile ./default.profdata ./bin/unittests > ./coverage.info
llvm-cov export --format=lcov --instr-profile ./default.profdata --ignore-filename-regex=".*test[/\\].*" ./bin/unittests > ./coverage.info
- name: Upload to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 042ff01

Please sign in to comment.