Skip to content

Commit

Permalink
CI: Test coverage of features
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpt committed Feb 4, 2025
1 parent f9f9c9b commit 6423caa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,15 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with: { tool: cargo-llvm-cov }
- run: cargo llvm-cov --codecov --output-path codecov.json
- run: |
source <(cargo llvm-cov show-env --export-prefix)
export CARGO_TARGET_DIR=$CARGO_LLVM_COV_TARGET_DIR
cargo llvm-cov clean --workspace
cargo test --features native-tls
cargo test --features rustls-ring-native
cargo test --features rustls-ring-webpki
cargo test --features flate2
cargo llvm-cov report --codecov --output-path codecov.json
- uses: codecov/codecov-action@v5
with:
files: codecov.json
Expand Down

0 comments on commit 6423caa

Please sign in to comment.