Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Needs --all-features to build/test with tokio.
Needed for cargo test to not fail on xenstore-cli-async.

Signed-off-by Teddy Astie <teddy.astie@vates.tech>
  • Loading branch information
TSnake41 committed Nov 21, 2024
1 parent b95ee56 commit 49a5774
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ jobs:
include:
- subcommand: 'clippy'
# treat warnings as errors
args: '-- -D warnings'
args: '--all-features -- -D warnings'
- subcommand: 'fmt'
args: '--check'
- subcommand: 'build'
args: '--all-features'
- subcommand: 'test'
args: '--all-features'
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install crate dependencies
run: sudo apt-get install -y libxen-dev

- run: cargo ${{ matrix.subcommand }} ${{ matrix.args }}

0 comments on commit 49a5774

Please sign in to comment.