-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
It will show what code is not covered by tests. Here is a job for this I'm using in a github actions workflow:
test_coverage:
name: Code coverage in tests
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --all-features --workspace --timeout=360 --out Lcov
- name: Push code coverage results to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.infoOriginally posted by @greenhat in #5 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels