Skip to content

Commit

Permalink
All test without default features in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Jul 9, 2024
1 parent 3fe9f97 commit 131da94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-check-
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-
${{ runner.os }}-cargo-
- run: cargo check --all-targets --no-default-features --features protoc
- run: cargo check --all-targets --all-features

check:
Expand All @@ -53,6 +54,7 @@ jobs:
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-check-
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-
${{ runner.os }}-cargo-
- run: cargo check --all-targets --no-default-features --features protoc
- run: cargo check --all-targets --all-features

test:
Expand All @@ -78,8 +80,10 @@ jobs:
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-test-
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-
${{ runner.os }}-cargo-
- run: cargo test --all-targets --no-default-features --features protoc
- run: cargo test --all-targets --all-features
- run: cargo test --doc --all-features
- run: cargo test --doc --no-default-features --features protoc

rustfmt:
name: Rustfmt
Expand Down Expand Up @@ -116,6 +120,7 @@ jobs:
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-clippy-
${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-
${{ runner.os }}-cargo-
- run: cargo clippy --all-targets --no-default-features --features protoc -- -Dwarnings
- run: cargo clippy --all-targets --all-features -- -Dwarnings

package:
Expand Down

0 comments on commit 131da94

Please sign in to comment.