ci: do no feature first in cirrus (#1048)

This commit is contained in:
Clement Tsang 2023-03-07 00:18:42 -05:00 committed by GitHub
parent b745684156
commit 9c197d0cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,18 +55,18 @@ test_task:
image: ghcr.io/cirruslabs/macos-monterey-base:latest image: ghcr.io/cirruslabs/macos-monterey-base:latest
<<: *SETUP_TEMPLATE <<: *SETUP_TEMPLATE
<<: *CACHE_TEMPLATE <<: *CACHE_TEMPLATE
test_all_feature_script:
- . $HOME/.cargo/env
- cargo fmt --all -- --check
- cargo test --no-run --locked --all-features
- cargo test --no-fail-fast --all-features -- --nocapture --quiet
- cargo clippy --all-targets --workspace --all-features -- -D warnings
test_no_feature_script: test_no_feature_script:
- . $HOME/.cargo/env - . $HOME/.cargo/env
- cargo fmt --all -- --check - cargo fmt --all -- --check
- cargo test --no-run --locked --no-default-features - cargo test --no-run --locked --no-default-features
- cargo test --no-fail-fast --no-default-features -- --nocapture --quiet - cargo test --no-fail-fast --no-default-features -- --nocapture --quiet
- cargo clippy --all-targets --workspace --no-default-features -- -D warnings - cargo clippy --all-targets --workspace --no-default-features -- -D warnings
test_all_feature_script:
- . $HOME/.cargo/env
- cargo fmt --all -- --check
- cargo test --no-run --locked --all-features
- cargo test --no-fail-fast --all-features -- --nocapture --quiet
- cargo clippy --all-targets --workspace --all-features -- -D warnings
<<: *CLEANUP_TEMPLATE <<: *CLEANUP_TEMPLATE
build_task: build_task: