Skip to content

Commit

Permalink
Merge pull request #188: Fix code coverage CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
piegamesde authored Mar 7, 2023
2 parents 10e167c + a82a7ae commit 32369ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ jobs:
with:
toolchain: nightly
override: true
- uses: actions-rs/[email protected]
with:
crate: cargo-tarpaulin
version: latest
- name: Cache ~/.cargo
uses: actions/cache@v1
with:
Expand All @@ -170,9 +174,11 @@ jobs:
with:
path: target
key: ${{ runner.os }}-coverage-cargo-build-target
- uses: actions-rs/[email protected]
- name: Run tarpaulin
uses: actions-rs/cargo@v1
with:
args: --all
command: tarpaulin
args: --workspace --out Xml
- name: upload coverage
uses: codecov/codecov-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
**/*.rs.bk

.idea/
.vscode/

0 comments on commit 32369ac

Please sign in to comment.