Skip to content

Commit

Permalink
Exclude blazecli from coverage assessment
Browse files Browse the repository at this point in the history
Blazecli is arguably a trivial wrapper around functionality provided by
the main library. Given how simple it currently is, we didn't see a
point in adding another test suite for it.
Exclude it from Codecov's coverage assessment accordingly.

Signed-off-by: Daniel Müller <[email protected]>
  • Loading branch information
d-e-s-o committed Nov 23, 2023
1 parent b8bcb8f commit 2971cef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ coverage:
default:
# We don't gate anything based on flaky code coverage reports.
informational: true
blazesym:
paths:
- src/
blazesym-c:
paths:
- capi/src/
patch:
default:
informational: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Test and gather coverage
run: cargo llvm-cov --workspace --all-targets --features=nightly,generate-large-test-files --lcov --output-path lcov.info
run: cargo llvm-cov --workspace --all-targets --features=nightly,generate-large-test-files --ignore-filename-regex=cli/src/ --lcov --output-path lcov.info
- name: Upload code coverage results
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 2971cef

Please sign in to comment.