Skip to content

Commit d3d3447

Browse files
committed
Avoid --all-targets for cargo test in CI workflows
1 parent 6e04f85 commit d3d3447

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ jobs:
133133
- name: Run cargo check
134134
run: cargo check --all-targets
135135
- name: Run the tests
136-
run: cargo test --all-targets
136+
run: cargo test
137137
- name: Run the tests with x509-parser enabled
138-
run: cargo test --verbose --features x509-parser --all-targets
138+
run: cargo test --verbose --features x509-parser
139139
- name: Run the tests with aws_lc_rs backend enabled
140-
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets
140+
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem
141141
- name: Run the tests with FIPS aws_lc_rs module
142-
run: cargo test --verbose --no-default-features --features fips,pem --all-targets
142+
run: cargo test --verbose --no-default-features --features fips,pem
143143
- name: Run the tests with no features enabled
144-
run: cargo test --verbose --no-default-features --all-targets
144+
run: cargo test --verbose --no-default-features
145145

146146
build:
147147
strategy:
@@ -176,13 +176,13 @@ jobs:
176176
- name: Run cargo check
177177
run: cargo check --all-targets
178178
- name: Run the tests
179-
run: cargo test --all-targets
179+
run: cargo test
180180
- name: Run the tests with x509-parser enabled
181-
run: cargo test --verbose --features x509-parser --all-targets
181+
run: cargo test --verbose --features x509-parser
182182
- name: Run the tests with aws_lc_rs backend enabled
183-
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets
183+
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem
184184
- name: Run the tests with FIPS aws_lc_rs module
185-
run: cargo test --verbose --no-default-features --features fips,pem --all-targets
185+
run: cargo test --verbose --no-default-features --features fips,pem
186186

187187
# Build rustls-cert-gen as a standalone package, see this PR for why it's needed:
188188
# https://github.com/rustls/rcgen/pull/206#pullrequestreview-1816197358

0 commit comments

Comments
 (0)