Skip to content

Commit 4ec4a7a

Browse files
committed
Add tests without features
1 parent 87f0e41 commit 4ec4a7a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ jobs:
3737

3838
- uses: Swatinem/rust-cache@v2
3939

40-
- name: Run all tests
40+
- name: Run tests with all features enabled
4141
run: cargo test --all-features
4242

43+
- name: Run tests without features enabled
44+
run: cargo test
45+
4346
clippy:
4447
name: Clippy
4548
runs-on: ubuntu-latest
@@ -57,9 +60,12 @@ jobs:
5760

5861
- uses: Swatinem/rust-cache@v2
5962

60-
- name: Run cargo clippy
63+
- name: Run cargo clippy with all features enabled
6164
run: cargo clippy --all-features
6265

66+
- name: Run cargo clippy without any features enabled
67+
run: cargo clippy
68+
6369
rustfmt:
6470
name: Rust format
6571
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)