Skip to content

Commit 16ca83c

Browse files
authored
ci: Exclude C++ tests in code coverage (#4147)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
1 parent fc60e86 commit 16ca83c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Generate C++ coverage report
9090
run: |
9191
lcov --directory . --capture --output-file cpp_coverage.info
92-
lcov --remove cpp_coverage.info '/usr/*' '*/tests/*' '*/build/*' --output-file cpp_coverage.info --ignore-errors unused
92+
lcov --remove cpp_coverage.info '/usr/*' '*/tests/*' '*/build/*' 'libmamba/tests/*' --output-file cpp_coverage.info --ignore-errors unused
9393
lcov --summary cpp_coverage.info --ignore-errors mismatch --rc geninfo_unexecuted_blocks=1
9494
9595
# TODO: Those steps need adaptations so that the coverage reports from the C++ and the python test suites are consolidated.

codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
github_checks:
22
annotations: false
3+
4+
ignore:
5+
- "libmamba/tests"

0 commit comments

Comments
 (0)