Skip to content

Commit ccc3768

Browse files
committed
Add feature matrix
1 parent 874f990 commit ccc3768

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,19 @@ jobs:
4040
strategy:
4141
matrix:
4242
os: [ ubuntu-latest, macos-latest, windows-latest ]
43+
features:
44+
- '--all-features'
45+
# - '--no-default-features'
46+
# - ''
4347
steps:
4448
- uses: actions/checkout@v4
4549
- name: Build
4650
run: cargo build --verbose
4751
- uses: taiki-e/install-action@nextest
4852
- name: Run tests
49-
run: cargo nextest run --verbose --all-features
53+
run: cargo nextest run --verbose ${{ matrix.features }}
5054
- name: Run doctests
51-
run: cargo test --doc --verbose --all-features
55+
run: cargo test --doc --verbose ${{ matrix.features }}
5256

5357
codecov:
5458
needs: lint

0 commit comments

Comments
 (0)