Skip to content

Commit

Permalink
Merge pull request #5 from Sollimann/feat/codecov
Browse files Browse the repository at this point in the history
added code coverage report
  • Loading branch information
Sollimann authored Feb 7, 2021
2 parents 6067ddd + ea4396d commit 957ead9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Push to codecov.io
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash) -X gcov -t $CODECOV_TOKEN

0 comments on commit 957ead9

Please sign in to comment.