From 39b3907da637cf7e3f4103f9662db26d8c0bf124 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 7 Nov 2024 17:37:15 +0100 Subject: [PATCH] Run tests on no_std In commit 896ef02a52500, the existing tests where fixed so that they can be run without the std feature. To ensure this keeps working, in this commit I am adding that to CI. I tested that this new command failed before the fix. Signed-off-by: Uli Schlachter --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index edd3bce2..7816214d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -105,9 +105,9 @@ jobs: - name: cargo build with all features run: cargo build --workspace --verbose --all-targets --all-features - # build no_std - - name: cargo build protocol with no default features - run: cargo build --manifest-path x11rb-protocol/Cargo.toml --no-default-features --features=all-extensions + # test no_std + - name: cargo test protocol with no default features + run: cargo test --manifest-path x11rb-protocol/Cargo.toml --no-default-features --features=all-extensions - name: Add rustflag for instrument coverage if: matrix.rust == 'nightly'