Bump MSRV to Rust 1.71. #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Code coverage | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --lib --lcov --output-path lcov.info | |
- name: Upload to Codecov | |
uses: codecov/[email protected] | |
with: | |
files: lcov.info | |
flags: unit | |
verbose: true | |
fail_ci_if_error: true | |
integration_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --test '*' --lcov --output-path lcov.info | |
- name: Upload to Codecov | |
uses: codecov/[email protected] | |
with: | |
files: lcov.info | |
flags: integration | |
verbose: true | |
fail_ci_if_error: true |