Skip to content

Commit

Permalink
fix(.github/codecov): Ignore aws-lc-rs-fips for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl authored and gretchenfrage committed Jan 18, 2025
1 parent 6bfd248 commit 7d87dc9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-llvm-cov
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- shell: bash
# Run llvm-cov _without_ the "aws-lc-rs-fips" or "rustls-aws-lc-rs-fips" features, since
# they have 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' -e 'rustls-aws-lc-rs-fips' \
# | paste -sd ',' -
run: |
cargo llvm-cov \
--features="arbitrary,async-io,async-std,aws-lc-rs,direct-log,fast-apple-datapath,futures-io,json-output,lock_tracking,log,platform-verifier,ring,runtime-async-std,runtime-smol,runtime-tokio,rustls,rustls-aws-lc-rs,rustls-log,rustls-ring,serde,serde_json,smol,tracing" \
--workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
Expand Down

0 comments on commit 7d87dc9

Please sign in to comment.