Skip to content

Commit

Permalink
Run tests on no_std
Browse files Browse the repository at this point in the history
In commit 896ef02, 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 <[email protected]>
  • Loading branch information
psychon committed Nov 7, 2024
1 parent 4c2330b commit 39b3907
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 39b3907

Please sign in to comment.