Skip to content

docs: Change homepage to point to each crate in the repo #118

docs: Change homepage to point to each crate in the repo

docs: Change homepage to point to each crate in the repo #118

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: Install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
# Nightly needed for `cargo-llvm`'s `--doctests` flag
toolchain: nightly-2024-04-20
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 --doctests --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}