Skip to content

improve interactive ux #80

improve interactive ux

improve interactive ux #80

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
- master
pull_request:
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: Generate coverage report
run: |
cargo llvm-cov --workspace --locked --lcov --output-path lcov.info -- --test-threads=1
env:
CARGO_INCREMENTAL: "0"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: lcov.info
flags: unit
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}