Skip to content

Commit

Permalink
coverall: ignore src/error.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeevab committed May 26, 2024
1 parent e3067fb commit 2ed048b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ jobs:
- name: Run grcov
run: |
mkdir coverage
./grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" \
--excl-line '#\[|=> panic!|unreachable!|Io\(std::io::Error\)|//!|///|^[ }]*$| +TooShort,|impl From' \
./grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing \
--ignore "/*" --ignore "src/error.rs" \
--excl-line '#\[|=> panic!|unreachable!|Io\(std::io::Error\)|//!|///|^[ }]*$' \
--excl-br-line '#\[|=> panic!|unreachable!|assert_..!|//!|///' -o ./coverage/lcov.info
- name: Send to Coveralls
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit 2ed048b

Please sign in to comment.