Skip to content

Commit e1f99b7

Browse files
committed
fix(.github/codecov): Ignore aws-lc-rs-fips for codecov
1 parent f5b1ec7 commit e1f99b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: dtolnay/rust-toolchain@stable
1616
- uses: taiki-e/install-action@cargo-llvm-cov
17-
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
17+
- shell: bash
18+
run: |
19+
LLVMCOV_FEATURES=$(cargo metadata --format-version 1 --no-deps \
20+
| jq -r '[ .packages[].features | keys[] | select(. != "default" and . != "aws-lc-rs-fips") ] | unique | join(",")')
21+
cargo llvm-cov --features="$LLVMCOV_FEATURES" --workspace --lcov --output-path lcov.info
1822
- name: Upload coverage to Codecov
1923
uses: codecov/codecov-action@v5
2024
with:

0 commit comments

Comments
 (0)