Skip to content

Commit 30559af

Browse files
committed
t
1 parent 1812a90 commit 30559af

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ jobs:
128128
python ./scripts/custom-auditwheel.py repair -w {dest_dir} --only-plat --plat manylinux_2_28_x86_64 {wheel}
129129
CIBW_REPAIR_WHEEL_COMMAND_MACOS:
130130
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS:
131-
CIBW_TEST_COMMAND: >
132-
python -m unittest discover -s {package}/tests
133131
# - name: Rename wheel to include Qt version
134132
# run: |
135133
# pushd wheelhouse
@@ -139,6 +137,16 @@ jobs:
139137
# mv $i ${pkgname}-${{ matrix.pyside_ver }}-${pkginfo}
140138
# done
141139
# popd
140+
- name: Install uv
141+
uses: astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6
142+
with:
143+
python-version: "3.9"
144+
activate-environment: true
145+
- name: Test wheel
146+
run: |
147+
uv pip install ./whelhouse/*.whl
148+
cd tests
149+
python -m unittest discover
142150
- name: Upload artifact
143151
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
144152
with:
@@ -204,8 +212,9 @@ jobs:
204212
python ./scripts/custom-auditwheel.py repair -w dist-repaired --only-plat --plat manylinux_2_39_aarch64 ./dist/pyside6_qtads-*.whl
205213
- name: Test wheel
206214
run: |
215+
cd tests
207216
uv pip install ./dist-repaired/*.whl
208-
python -m unittest discover -s tests
217+
python -m unittest discover
209218
- name: Upload artifact
210219
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
211220
with:

0 commit comments

Comments
 (0)