Skip to content

Merge pull request #288 from dalance/dependabot/cargo/term-1.0 #564

Merge pull request #288 from dalance/dependabot/cargo/term-1.0

Merge pull request #288 from dalance/dependabot/cargo/term-1.0 #564

Workflow file for this run

name: Coverage
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup toolchain install stable --component llvm-tools-preview
- 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@v4
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}