Skip to content

Commit 8fb85d5

Browse files
committed
ci: skip trybuild tests for all features on macos-latest
1 parent ab2a5f5 commit 8fb85d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,20 @@ jobs:
147147

148148
- uses: Swatinem/rust-cache@v2
149149

150+
- name: test all --all-features (no trybuild)
151+
run: |
152+
set -euxo pipefail
153+
cargo nextest run --workspace --all-features --exclude tests-build
154+
cargo test --doc --workspace --all-features
155+
if: matrix.os == 'macos-latest'
156+
150157
# Test **all** crates in the workspace with all features.
151158
- name: test all --all-features
152159
run: |
153160
set -euxo pipefail
154161
cargo nextest run --workspace --all-features
155162
cargo test --doc --workspace --all-features
163+
if: matrix.os != 'macos-latest'
156164

157165
test-workspace-all-features-panic-abort:
158166
needs: basics

0 commit comments

Comments
 (0)