Skip to content

Commit 548d21e

Browse files
committed
Ignore testing for platforms that don't support uvloop
Also specify target to use correct windows platforms
1 parent 2d935dc commit 548d21e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ jobs:
155155
run: |
156156
python -m pip install -U uvloop
157157
158-
- if: matrix.msrv != 'MSRV'
158+
- if: ${{ matrix.msrv != 'MSRV' && matrix.python-version != '3.11-dev' && !startsWith(matrix.python-version, 'pypy') }}
159159
name: Test
160-
run: cargo test --all-features
160+
run: cargo test --all-features --target ${{ matrix.platform.rust-target }}
161161

162-
- if: matrix.msrv == 'MSRV'
162+
- if: ${{ matrix.msrv == 'MSRV' && matrix.python-version != '3.11-dev' && !startsWith(matrix.python-version, 'pypy') }}
163163
name: Test (MSRV, --no-default-features)
164-
run: cargo test --no-default-features --features tokio,async-std-runtime,unstable-streams
164+
run: cargo test --no-default-features --features tokio,async-std-runtime,unstable-streams --target ${{ matrix.platform.rust-target }}
165165

166166
env:
167167
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)