Skip to content

Commit 97755b3

Browse files
committed
chore(ci): Improve perf at the cost of coverage
1 parent 06061d8 commit 97755b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Build
5151
run: cargo test --workspace --no-run
5252
- name: Test
53-
run: cargo hack test --feature-powerset --workspace
53+
run: cargo hack test --each-feature --workspace
5454
msrv:
5555
name: "Check MSRV"
5656
runs-on: ubuntu-latest
@@ -64,7 +64,7 @@ jobs:
6464
- uses: Swatinem/rust-cache@v2
6565
- uses: taiki-e/install-action@cargo-hack
6666
- name: Default features
67-
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets --keep-going
67+
run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
6868
minimal-versions:
6969
name: Minimal versions
7070
runs-on: ubuntu-latest

.github/workflows/rust-next.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Build
4141
run: cargo test --workspace --no-run
4242
- name: Test
43-
run: cargo hack test --feature-powerset --workspace
43+
run: cargo hack test --each-feature --workspace
4444
latest:
4545
name: "Check latest dependencies"
4646
runs-on: ubuntu-latest
@@ -58,4 +58,4 @@ jobs:
5858
- name: Build
5959
run: cargo test --workspace --no-run
6060
- name: Test
61-
run: cargo hack test --feature-powerset --workspace
61+
run: cargo hack test --each-feature --workspace

0 commit comments

Comments
 (0)