Skip to content

Commit

Permalink
Merge pull request #63 from palfrey/test-without-default-features
Browse files Browse the repository at this point in the history
Add test without default features
  • Loading branch information
palfrey authored Jun 24, 2022
2 parents 80ee97f + ae0773f commit b38286d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.51.0
features:
- default
- no_defaults
- file_locks
include:
- rust: nightly
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
env:
RUST_TEST_THREADS: 3 # So the parallel tests have enough threads
RUST_LOG: debug
if: ${{ matrix.features != 'all' }}
if: ${{ matrix.features != 'all' && matrix.features != 'no_defaults' }}
- name: Build and test all features
uses: actions-rs/cargo@v1.0.3
with:
Expand All @@ -66,6 +67,15 @@ jobs:
env:
RUST_TEST_THREADS: 3 # So the parallel tests have enough threads
RUST_LOG: debug
- name: Build and test without default features
uses: actions-rs/cargo@v1.0.3
with:
command: test
args: --no-default-features -- --nocapture
if: ${{ matrix.features == 'no_defaults' }}
env:
RUST_TEST_THREADS: 3 # So the parallel tests have enough threads
RUST_LOG: debug

multi-os-testing:
name: Test suite
Expand Down

0 comments on commit b38286d

Please sign in to comment.