Skip to content

Commit

Permalink
CI: cargo {build,clippy,test} need --all-features
Browse files Browse the repository at this point in the history
This is so that no code is skipped during testing.
  • Loading branch information
kamirr committed Jun 12, 2022
1 parent 5a01d77 commit aa6f13e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ jobs:
uses: actions-rs/cargo@4ff6ec2846f6e7217c1a9b0b503506665f134c4b
with:
command: build
args: --all-features
- name: Run `cargo test`
uses: actions-rs/cargo@4ff6ec2846f6e7217c1a9b0b503506665f134c4b
with:
command: test
args: --all-features
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build:
cargo clippy
cargo test
cargo clippy --all-features
cargo test --all-features
cargo fmt --check

0 comments on commit aa6f13e

Please sign in to comment.