Skip to content

Commit f5c299b

Browse files
authored
Fix coverage and CI build configuration (#199)
* Fix coverage and CI build configuration Signed-off-by: Max Lambrecht <[email protected]> * Fix coverage and CI build configuration Signed-off-by: Max Lambrecht <[email protected]> --------- Signed-off-by: Max Lambrecht <[email protected]>
1 parent c4f03f3 commit f5c299b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ jobs:
8282
run: .github/workflows/scripts/run-spire.sh
8383

8484
- name: Run Integration Tests
85-
run: cargo test --features integration-tests
85+
run: |
86+
cargo test --manifest-path spiffe/Cargo.toml --features integration-tests
87+
cargo test --manifest-path spire-api/Cargo.toml --features integration-tests
88+
cargo test --manifest-path spiffe-rustls/Cargo.toml --features integration-tests
8689
8790
- name: Clean up SPIRE
8891
if: ${{ always() }}

.github/workflows/coverage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
- name: Start SPIRE
3939
run: .github/workflows/scripts/run-spire.sh
4040

41-
# Do NOT use --all-features due to mutually exclusive rustls providers.
42-
- name: Run Tests (workspace defaults)
43-
run: cargo test --workspace
44-
45-
- name: Run Tests (spiffe-rustls aws-lc-rs)
46-
run: cargo test -p spiffe-rustls --no-default-features --features aws-lc-rs
41+
- name: Run Tests
42+
run: |
43+
cargo test --workspace --all-targets --exclude spiffe-rustls-grpc-examples --exclude xtask
44+
cargo test --manifest-path spiffe/Cargo.toml --features integration-tests
45+
cargo test --manifest-path spire-api/Cargo.toml --features integration-tests
46+
cargo test --manifest-path spiffe-rustls/Cargo.toml --features integration-tests
4747
4848
# Coverage is restricted to hand-written library code.
4949
# Generated protobuf code, examples, and tooling are intentionally excluded.

0 commit comments

Comments
 (0)