From 60235dc6ea6c3f6818c72ee8e7086ae906e551c0 Mon Sep 17 00:00:00 2001 From: Ilka Schulz Date: Wed, 28 Feb 2024 12:01:58 +0100 Subject: [PATCH] GihHub Workflow "Quality Control": add flag "--all-features" to cargo in order to run all available tests behind feature flags --- .github/workflows/qc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qc.yaml b/.github/workflows/qc.yaml index 2f9a0db3..97108903 100644 --- a/.github/workflows/qc.yaml +++ b/.github/workflows/qc.yaml @@ -121,7 +121,7 @@ jobs: # liboqs requires quite a lot of stack memory, thus we adjust # the default stack size picked for new threads (which is used # by `cargo test`) to be _big enough_. Setting it to 8 MiB - - run: RUST_MIN_STACK=8388608 cargo test --workspace + - run: RUST_MIN_STACK=8388608 cargo test --workspace --all-features cargo-test-nix-devshell-x86_64-linux: runs-on: @@ -144,7 +144,7 @@ jobs: with: name: rosenpass authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - run: nix develop --command cargo test --workspace + - run: nix develop --command cargo test --workspace --all-features cargo-fuzz: runs-on: ubuntu-latest