Skip to content
Snippets Groups Projects
Commit 73de02d1 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Try using strategy.matrix to run cargo check

parent 421f8194
Branches
No related tags found
No related merge requests found
......@@ -9,7 +9,12 @@ on:
jobs:
ctap2_test:
name: CTAP2 unit tests
runs-on: ubuntu-18.04
strategy:
matrix:
cargo_features: [std std,with_ctap1]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
......@@ -27,22 +32,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --release --features std
args: --release --features ${{ cargo_features }}
- name: Unit testing of CTAP2 (debug mode)
uses: actions-rs/cargo@v1
with:
command: test
args: --features std
- name: Unit testing of CTAP2 (release mode + CTAP1)
uses: actions-rs/cargo@v1
with:
command: test
args: --features std,with_ctap1
- name: Unit testing of CTAP2 (debug mode + CTAP1)
uses: actions-rs/cargo@v1
with:
command: test
args: --features std,with_ctap1
args: --features ${{ cargo_features }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment