Skip to content

Commit

Permalink
CI: Update tarpaulin and use Coveralls' action
Browse files Browse the repository at this point in the history
  • Loading branch information
homersimpsons authored and Geal committed Oct 23, 2021
1 parent db9d5f8 commit 0d37322
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,15 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-tarpaulin --version 0.18.0-alpha3 # @TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
args: cargo-tarpaulin

- name: Run cargo tarpaulin
uses: actions-rs/cargo@v1
env:
TOKEN: ${{ secrets.COVERALLS_TOKEN }}
with:
command: tarpaulin
args: --coveralls "$TOKEN" --avoid-cfg-tarpaulin # @TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
args: --output-dir coverage --out Lcov

- name: Publish to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0d37322

Please sign in to comment.