Skip to content

Commit

Permalink
Run default/all-features on empty OR std featureset
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jul 23, 2024
1 parent 3c4043f commit b07141d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ jobs:

- name: Run tests with default features
uses: actions-rs/cargo@v1
if: ${{ !matrix.coverage && matrix.features == '' }}
if: ${{ !matrix.coverage && matrix.features == '' || matrix.features == 'std') }}
with:
command: test
args: --all-targets --no-fail-fast

- name: Run tests with all features
uses: actions-rs/cargo@v1
if: ${{ !matrix.coverage && matrix.features == '' }}
if: ${{ !matrix.coverage && (matrix.features == '' || matrix.features == 'std') }}
with:
command: test
args: --all-targets --no-fail-fast --all-features
Expand Down

0 comments on commit b07141d

Please sign in to comment.