Skip to content

Commit 5aaa70b

Browse files
committed
ci(coverage): Ignore filenames matching test_utils
1 parent 5ffaacc commit 5aaa70b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/code_coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
- name: Install cargo-llvm-cov
3030
run: cargo install cargo-llvm-cov
3131
- name: Generate coverage data
32-
run: cargo llvm-cov --all-features --branch --quiet --lcov --output-path lcov.info
32+
run: cargo llvm-cov --all-features --branch --quiet --ignore-filename-regex "test_utils" --lcov --output-path lcov.info
3333
env:
3434
RUSTFLAGS: "--cfg coverage_nightly"
3535
- name: Generate HTML coverage report
36-
run: cargo llvm-cov --all-features --branch --quiet --html
36+
run: cargo llvm-cov --all-features --branch --quiet --ignore-filename-regex "test_utils" --html
3737
env:
3838
RUSTFLAGS: "--cfg coverage_nightly"
3939
- name: Codecov upload

0 commit comments

Comments
 (0)