Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jan 22, 2025
1 parent e0ae6e3 commit e25725f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,24 @@ jobs:
matrix:
rust: [ stable, beta, nightly ]
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
needs: [ build ]
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
- name: Install Tarpaulin
uses: actions-rs/[email protected]
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
crate: cargo-tarpaulin
version: 0.14.2
use-tool-cache: true
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: true
- name: Checkout
uses: actions/checkout@v4
- name: Test
Expand Down

0 comments on commit e25725f

Please sign in to comment.