Skip to content

Commit

Permalink
Use tarpaulin instead of grcov
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Sep 17, 2024
1 parent 7c137a1 commit 249fce8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/actions-rs/grcov.yml

This file was deleted.

21 changes: 4 additions & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,14 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
env:
CARGO_INCREMENTAL: "0"
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
- name: rust-grcov
# You may pin to the exact commit or the version.
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
uses: actions-rs/[email protected]
- name: Install cargo tarpaulin
run: cargo install cargo-tarpaulin
- name: Run tarpaulin
run: cargo tarpaulin --all-features --out xml
- name: Codecov
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
# Repository upload token - get it from codecov.io. Required only for private repositories
# token: # optional
# Specify whether the Codecov output should be verbose
verbose: true
fail_ci_if_error: true

0 comments on commit 249fce8

Please sign in to comment.