Skip to content

Commit

Permalink
Use matrix for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfldde committed Oct 16, 2024
1 parent 1b81693 commit 499fce6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,20 @@ jobs:
args: "--workspace --all-features --all-targets"

test:
name: Tests
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
short_prefix: [0, 1]

steps:
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Run Cargo test
run: |
SHORT_PREFIX=0 cargo test
SHORT_PREFIX=1 cargo test
run: SHORT_PREFIX=${{ matrix.short_prefix }} cargo test

0 comments on commit 499fce6

Please sign in to comment.