Skip to content

Commit

Permalink
test: try direct coverage upload
Browse files Browse the repository at this point in the history
Try to use tarpaulin direct coverage upload. See if it works, or if it
works better even.
  • Loading branch information
cljoly committed Oct 21, 2024
1 parent 5087475 commit 5a51b53
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,8 @@ jobs:
- run: cargo install --locked cargo-tarpaulin
- name: Generate code coverage
uses: actions-rs/cargo@v1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
command: tarpaulin
args: --locked --all-features --run-types AllTargets --workspace --timeout 120 --out Lcov --exclude-files '**/benches/*'
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
args: --locked --all-features --run-types AllTargets --workspace --timeout 120 --coveralls "$env:CODECOV_TOKEN"

0 comments on commit 5a51b53

Please sign in to comment.