Skip to content

Commit

Permalink
Add all feature testing
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Feb 12, 2022
1 parent b981a9a commit 85222c6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
features:
- default
- file_locks
- all
steps:
- uses: actions/[email protected]
- uses: actions-rs/[email protected]
Expand All @@ -45,11 +46,18 @@ jobs:
command: clippy
if: ${{ matrix.features == 'default' }}
continue-on-error: ${{ matrix.rust == 'nightly' || matrix.rust == 'beta' }}
- name: Build and test
- name: Build and test feature ${{ matrix.features }}
uses: actions-rs/[email protected]
with:
command: test
args: --features ${{ matrix.features }}
if: ${{ matrix.features != 'all' }}
- name: Build and test all features
uses: actions-rs/[email protected]
with:
command: test
args: --all-features
if: ${{ matrix.features == 'all' }}

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

0 comments on commit 85222c6

Please sign in to comment.