From b07141d03f3caef492e2bfd34fd87111d4c9337e Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Tue, 23 Jul 2024 16:20:33 +0200 Subject: [PATCH] Run default/all-features on empty OR std featureset --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3db6668..74ba83b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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