ci: Test specific features without default set
This commit is contained in:
parent
969cdda85c
commit
7cdafcca34
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue