changeset 71:1f11a9e15a6d

github actions: test with no features
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 02 Apr 2022 13:45:12 -0700
parents 3adb990ef496
children 08db02ef7028
files .github/workflows/test.yml
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/test.yml	Sat Jan 01 12:32:21 2022 +0100
+++ b/.github/workflows/test.yml	Sat Apr 02 13:45:12 2022 -0700
@@ -6,6 +6,9 @@
   build_and_test:
     name: Rust project
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        features: ["full", ""]
     steps:
       - uses: actions/checkout@v2
       - uses: actions-rs/toolchain@v1
@@ -14,4 +17,4 @@
       - uses: actions-rs/cargo@v1
         with:
           command: test
-          args: --features full
+          args: --features ${{ matrix.features }}