Skip to content

Commit

Permalink
refactor(ci): Only use non-default features for ubuntu ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicHorrorDev committed Jun 21, 2024
1 parent 032d60c commit 0ad5a86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
with:
prefix-key: 'v0-rust-2'

- name: Run test suite
# `wayland` requires an extra dependecy that's not installed by default
# on the runner. Avoid using that feature for ubuntu CI
- name: Run test suite (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: cargo test --workspace --no-default-features --features x11
- name: Run test suite (non-ubuntu)
if: matrix.os != 'ubuntu-latest'
run: cargo test --workspace

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0ad5a86

Please # to comment.