Skip to content

Commit

Permalink
Enable all features in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiimk committed Dec 10, 2024
1 parent c01f225 commit 241be34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: actions-rs/toolchain@v1 # Uses rust-toolchain file
with:
components: rustfmt
- run: cargo build --workspace
- run: cargo build --workspace --all-features
- run: cargo fmt --check
- run: cargo test --verbose --workspace
- run: cargo test --verbose --workspace --all-features
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
lint:
cargo fmt --check
# cargo udeps --all-targets
cargo clippy --workspace --all-targets -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings


###############################################################################
Expand All @@ -15,7 +15,7 @@ lint:

.PHONY: lint-fix
lint-fix:
cargo clippy --workspace --all-targets --fix --allow-dirty --allow-staged --broken-code
cargo clippy --workspace --all-targets --all-features --fix --allow-dirty --allow-staged --broken-code
cargo fmt --all

###############################################################################
Expand All @@ -24,4 +24,4 @@ lint-fix:

.PHONY: test
test:
cargo test --verbose --workspace
cargo test --verbose --workspace --all-features

0 comments on commit 241be34

Please sign in to comment.