Skip to content

Commit

Permalink
Add integration with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
hextriclosan authored Dec 13, 2024
1 parent 469f924 commit d22a0aa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ jobs:
- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
- run: cargo install cargo-tarpaulin
- run: cargo tarpaulin --out Xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

0 comments on commit d22a0aa

Please sign in to comment.