ci: Test specific features without default set

This commit is contained in:
Victor Brekenfeld 2021-05-18 21:18:55 +02:00 committed by Victor Berger
parent 969cdda85c
commit 7cdafcca34
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: test command: test
args: --features "${{ matrix.features }}" args: --no-default-features --features "${{ matrix.features }}"
- name: Test all - name: Test all
if: matrix.features == 'all' if: matrix.features == 'all'
@ -103,7 +103,7 @@ jobs:
- name: Test features - name: Test features
if: matrix.features != 'all' if: matrix.features != 'all'
working-directory: ./anvil working-directory: ./anvil
run: cargo test --features "${{ matrix.features }}" run: cargo test --no-default-features --features "${{ matrix.features }}"
- name: Test all - name: Test all
if: matrix.features == 'all' if: matrix.features == 'all'