Skip to content

docs(Cargo.toml): Add a relevant category #17

docs(Cargo.toml): Add a relevant category

docs(Cargo.toml): Add a relevant category #17

Workflow file for this run

on: [push]
name: codecov
jobs:
coverage:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-06-01
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --lcov --no-default-features --features x11 --output-path lcov.info
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}