Skip to content

Merge pull request #46 from isaacholt100/latest #28

Merge pull request #46 from isaacholt100/latest

Merge pull request #46 from isaacholt100/latest #28

name: codecov report
on:
push:
branches: "**"
env:
CARGO_TERM_COLOR: always
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update nightly
- name: Set nightly as default
run: rustup default 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 --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true