@@ -64,18 +64,13 @@ jobs:
64
64
if : runner.os == 'Linux'
65
65
uses : docker/setup-qemu-action@v3
66
66
67
- # for Win ARM which doesn't have Cryptography wheels yet
68
- - name : Install Rust tools on Windows ARM
69
- if : matrix.os == 'windows-11-arm'
70
- uses : actions-rust-lang/setup-rust-toolchain@v1
71
-
72
67
- name : Install dependencies
73
68
run : |
74
69
uv sync --no-dev --group test
75
70
76
71
- name : Generate a sample project
77
72
run : |
78
- uv run -m test.test_projects test.test_0_basic.basic_project sample_proj
73
+ uv run --no-sync - m test.test_projects test.test_0_basic.basic_project sample_proj
79
74
80
75
- name : Run a sample build (GitHub Action)
81
76
uses : ./
@@ -127,7 +122,7 @@ jobs:
127
122
128
123
- name : Test cibuildwheel
129
124
run : |
130
- uv run bin/run_tests.py ${{ (runner.os == 'Linux' && runner.arch == 'X64') && '--run-podman' || '' }}
125
+ uv run --no-sync bin/run_tests.py ${{ (runner.os == 'Linux' && runner.arch == 'X64') && '--run-podman' || '' }}
131
126
132
127
emulated-archs :
133
128
name : Get qemu emulated architectures
@@ -146,7 +141,7 @@ jobs:
146
141
- name : Get qemu emulated architectures
147
142
id : archs
148
143
run : |
149
- OUTPUT=$(uv run python -c "from json import dumps; from test.utils import EMULATED_ARCHS; print(dumps(EMULATED_ARCHS))")
144
+ OUTPUT=$(uv run --no-sync python -c "from json import dumps; from test.utils import EMULATED_ARCHS; print(dumps(EMULATED_ARCHS))")
150
145
echo "${OUTPUT}"
151
146
echo "archs=${OUTPUT}" >> "$GITHUB_OUTPUT"
152
147
@@ -171,7 +166,7 @@ jobs:
171
166
uses : docker/setup-qemu-action@v3
172
167
173
168
- name : Run the emulation tests
174
- run : uv run pytest --run-emulation ${{ matrix.arch }} test/test_emulation.py
169
+ run : uv run --no-sync pytest --run-emulation ${{ matrix.arch }} test/test_emulation.py
175
170
176
171
test-pyodide :
177
172
name : Test cibuildwheel building Pyodide wheels
@@ -191,7 +186,7 @@ jobs:
191
186
192
187
- name : Generate a sample project
193
188
run : |
194
- uv run -m test.test_projects test.test_0_basic.basic_project sample_proj
189
+ uv run --no-sync - m test.test_projects test.test_0_basic.basic_project sample_proj
195
190
196
191
- name : Run a sample build (GitHub Action)
197
192
uses : ./
@@ -203,6 +198,6 @@ jobs:
203
198
204
199
- name : Run tests with 'CIBW_PLATFORM' set to 'pyodide'
205
200
run : |
206
- uv run ./bin/run_tests.py
201
+ uv run --no-sync ./bin/run_tests.py
207
202
env :
208
203
CIBW_PLATFORM : pyodide
0 commit comments