From 93b9fa235149747233fd09c6a6450d8a889176fa Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 2 Mar 2023 14:50:19 +0000 Subject: [PATCH] Run tests with both `--all-features` and `--no-default-features` --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eec5d4..35f2292 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}