Skip to content

Commit

Permalink
CI: collect coverage with 1.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVeryDarkness committed Aug 30, 2024
1 parent ee6f9a0 commit 9a7838b
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,30 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rust Toolchain
id: toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.63
- name: cargo test
run: cargo test --workspace
# - name: Install cargo-binstall
# uses: cargo-bins/[email protected]
# - name: Install cargo-msrv
# run: cargo binstall --no-confirm cargo-msrv
# - name: Check the version of cargo-msrv
# run: cargo msrv --version
# - name: Show the Minimum Supported Rust Version
# run: cargo msrv show
# - name: Verify the Minimum Supported Rust Version
# run: cargo msrv verify
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate Code Coverage
run: cargo llvm-cov --workspace --lcov --output-path lcov.info
- name: Upload Results to Codecov
uses: codecov/codecov-action@v3
env:
RUSTUP_TOOLCHAIN: ${{ steps.toolchain.outputs.name }}
with:
file: lcov.info
flags: unittests
name: iof
env_vars: OS,RUSTUP_TOOLCHAIN
# Failing to upload results will cause a CI error.
# So remember to use a token.
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

miri:
name: MIRI Test
Expand Down

0 comments on commit 9a7838b

Please sign in to comment.