Skip to content

Commit e39821f

Browse files
committed
ci: no sync required (avoid dev group)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent b3ea812 commit e39821f

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/test.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,13 @@ jobs:
6464
if: runner.os == 'Linux'
6565
uses: docker/setup-qemu-action@v3
6666

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-
7267
- name: Install dependencies
7368
run: |
7469
uv sync --no-dev --group test
7570
7671
- name: Generate a sample project
7772
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
7974
8075
- name: Run a sample build (GitHub Action)
8176
uses: ./
@@ -127,7 +122,7 @@ jobs:
127122

128123
- name: Test cibuildwheel
129124
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' || '' }}
131126
132127
emulated-archs:
133128
name: Get qemu emulated architectures
@@ -146,7 +141,7 @@ jobs:
146141
- name: Get qemu emulated architectures
147142
id: archs
148143
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))")
150145
echo "${OUTPUT}"
151146
echo "archs=${OUTPUT}" >> "$GITHUB_OUTPUT"
152147
@@ -171,7 +166,7 @@ jobs:
171166
uses: docker/setup-qemu-action@v3
172167

173168
- 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
175170

176171
test-pyodide:
177172
name: Test cibuildwheel building Pyodide wheels
@@ -191,7 +186,7 @@ jobs:
191186

192187
- name: Generate a sample project
193188
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
195190
196191
- name: Run a sample build (GitHub Action)
197192
uses: ./
@@ -203,6 +198,6 @@ jobs:
203198

204199
- name: Run tests with 'CIBW_PLATFORM' set to 'pyodide'
205200
run: |
206-
uv run ./bin/run_tests.py
201+
uv run --no-sync ./bin/run_tests.py
207202
env:
208203
CIBW_PLATFORM: pyodide

0 commit comments

Comments
 (0)