Skip to content

Commit

Permalink
Implemented fix for coverage so it does not label assert lines as par…
Browse files Browse the repository at this point in the history
…tially covered. See: mozilla/grcov#476 and MWATelescope/Marlu@bc34f29 for more info. Should restore my coverage back to normal levels, I hope
  • Loading branch information
gsleap committed Jan 17, 2022
1 parent 570e36c commit 3f2467b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cargo build
cargo test
zip -0 ccov.zip `find . \( -name "mwalib*.gc*" \) -print`
grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" -o coverage/coverage.lcov
grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" --excl-br-line "^.*((debug_)?assert(_eq|_ne|_abs_diff_(eq|ne))?!|#\[derive\()" -o coverage/coverage.lcov
- name: Upload reports to codecov.io
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 3f2467b

Please sign in to comment.