Skip to content

Merge pull request #99 from 06chaynes/develop #252

Merge pull request #99 from 06chaynes/develop

Merge pull request #99 from 06chaynes/develop #252

Workflow file for this run

name: coverage
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.ref }}-coverage
cancel-in-progress: true
jobs:
coverage:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
- uses: taiki-e/install-action@cargo-llvm-cov
- run: |
cargo llvm-cov clean --workspace
cargo llvm-cov --no-report --no-default-features --package http-cache --features manager-cacache,cacache-async-std,with-http-types,manager-moka
cargo llvm-cov --no-report --no-default-features --package http-cache --features manager-cacache,cacache-tokio
cargo llvm-cov --no-report --package http-cache-surf --features manager-moka
cargo llvm-cov --no-report --package http-cache-reqwest --features manager-moka
cargo llvm-cov report --lcov --output-path lcov.info
- uses: codecov/codecov-action@v5
with:
files: lcov.info
fail_ci_if_error: false