Skip to content

Commit

Permalink
Update CI to add a test matrix for features
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Apr 9, 2024
1 parent 9125f65 commit 3034f9d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,29 @@ jobs:
with:
command: check

test:
name: Test Suite
check_features:
name: Check features
runs-on: ubuntu-latest
strategy:
matrix:
features:
- --features=default
- --all-features
- --features=bigint,serialize,debug
- --features=bigint,serialize,trace
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cargo update
run: cargo update
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
args: ${{ matrix.features }}

no_std:
name: no-std
Expand Down

0 comments on commit 3034f9d

Please sign in to comment.