Skip to content

Commit fdf945c

Browse files
committed
Test visualizer feature with std requirement separately from no_std
1 parent dab3bb6 commit fdf945c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Generate lockfile with minimal dependency versions
2626
run: cargo +nightly generate-lockfile -Zminimal-versions
2727
- uses: dtolnay/[email protected]
28-
# Note that examples are extempt from the MSRV check, so that they can use newer Rust features
28+
# Note that examples are exempt from the MSRV check, so that they can use newer Rust features
2929
- run: cargo check --workspace --features ${{ matrix.target.backend }},${{ matrix.features }} --no-default-features
3030

3131
test:
@@ -43,13 +43,14 @@ jobs:
4343
- hashbrown
4444
- std
4545
- hashbrown,std
46+
- visualizer,std
4647
runs-on: ${{ matrix.target.os }}
4748
steps:
4849
- uses: actions/checkout@v4
4950
- name: Cargo test all targets
50-
run: cargo test --workspace --all-targets --features visualizer,${{ matrix.target.backend }},${{ matrix.features }} --no-default-features
51+
run: cargo test --workspace --all-targets --features ${{ matrix.target.backend }},${{ matrix.features }} --no-default-features
5152
- name: Cargo test docs
52-
run: cargo test --workspace --doc --features visualizer,${{ matrix.target.backend }},${{ matrix.features }} --no-default-features
53+
run: cargo test --workspace --doc --features ${{ matrix.target.backend }},${{ matrix.features }} --no-default-features
5354

5455
fmt:
5556
name: Rustfmt
@@ -74,11 +75,12 @@ jobs:
7475
- hashbrown
7576
- std
7677
- hashbrown,std
78+
- visualizer,std
7779
runs-on: ${{ matrix.target.os }}
7880
steps:
7981
- uses: actions/checkout@v4
8082
- name: Cargo clippy
81-
run: cargo clippy --workspace --all-targets --features visualizer,${{ matrix.target.backend }},${{ matrix.features }} --no-default-features -- -D warnings
83+
run: cargo clippy --workspace --all-targets --features ${{ matrix.target.backend }},${{ matrix.features }} --no-default-features -- -D warnings
8284

8385
doc:
8486
name: Build documentation

0 commit comments

Comments
 (0)