Skip to content

Add funding yaml

Add funding yaml #1433

Workflow file for this run

name: "ci-coverage"
on:
pull_request:
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- name: checkout_repository
uses: actions/checkout@v4
- name: install_rust_nightly
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-10-08
- name: install_code_coverage_tool
uses: taiki-e/install-action@cargo-llvm-cov
- name: generate_code_coverage
# `--lib` ensures we only run unit tests, no integration tests.
# Integration tests are disabled, because they rely on Rust toolchains which do not support the rustc option
# `-C instrument-coverage`, needed by llvm-cov.
run: cargo llvm-cov --all-features --locked --lcov --output-path lcov.info --lib
- name: upload_code_coverage
uses: codecov/codecov-action@v5
with:
files: lcov.info