Skip to content

Introduce release workflow #80

Introduce release workflow

Introduce release workflow #80

Workflow file for this run

name: Code Coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate HTML coverage report
run: cargo llvm-cov --all-features --workspace --html --ignore-run-fail
- name: Upload HTML coverage report
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: target/llvm-cov/html
retention-days: 15