From 72ac346d57e46705dda54a2e6d4a4a937aa32d8c Mon Sep 17 00:00:00 2001
From: Jean-Michel Picod <jmichel@google.com>
Date: Mon, 2 Mar 2020 14:27:51 +0100
Subject: [PATCH] Revert strategy.matrix and fix missing release mode

---
 .github/workflows/opensk_test.yml | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/opensk_test.yml b/.github/workflows/opensk_test.yml
index 02c80d9..6b17763 100644
--- a/.github/workflows/opensk_test.yml
+++ b/.github/workflows/opensk_test.yml
@@ -11,9 +11,6 @@ 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
@@ -32,10 +29,23 @@ jobs:
         uses: actions-rs/cargo@v1
         with:
           command: test
-          args: --release --features ${{ cargo_features }}
+          args: --release --features std
 
       - name: Unit testing of CTAP2 (debug mode)
         uses: actions-rs/cargo@v1
         with:
           command: test
-          args: --features ${{ cargo_features }}
+          args: --features std
+
+      - name: Unit testing of CTAP2 (release mode + CTAP1)
+        uses: actions-rs/cargo@v1
+        with:
+          command: test
+          args: --release --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
+
-- 
GitLab