Run tests with both `--all-features` and `--no-default-features`
This commit is contained in:
parent
437d471b4d
commit
93b9fa2351
|
@ -4,16 +4,17 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
test:
|
||||
name: Test on ${{ matrix.os }}
|
||||
name: Test on ${{ matrix.os }} with ${{ matrix.features }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
|
||||
features: [--all-features, --no-default-features]
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --release --all-features
|
||||
run: cargo test --verbose --release ${{ matrix.features }}
|
||||
|
||||
no-std:
|
||||
name: Check no-std target ${{ matrix.target }}
|
||||
|
|
Loading…
Reference in New Issue