Files
noq/.github/workflows/codecov.yml
dependabot[bot] a2db989f82 deps: bump codecov/codecov-action from 5 to 7
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 81c0363fac)
2026-07-17 08:43:31 -05:00

41 lines
1.4 KiB
YAML

name: Coverage
on:
pull_request:
push:
branches: ['main']
jobs:
coverage:
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-llvm-cov
- shell: bash
# Run llvm-cov _without_ the "aws-lc-rs-fips" feature, since
# that has complex build requirements:
# https://github.com/aws/aws-lc/blob/3263ce2a553e4e917217fb487f8c6f488fcb1866/BUILDING.md#build-prerequisites
#
# This list of features was determined using:
# cargo metadata --format-version 1 --no-deps \
# | jq -r ' .packages[].features | keys[]' \
# | sort -u \
# | grep -vFx -e 'default' -e 'aws-lc-rs-fips' \
# | paste -sd ',' -
run: |
cargo llvm-cov \
--features="arbitrary,aws-lc-rs,bloom,fast-apple-datapath,futures-io,json-output,lock_tracking,log,platform-verifier,qlog,ring,runtime-smol,runtime-tokio,rustls,rustls-log,rustls,ring,serde,serde_json,tracing,tracing-log" \
--workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: false