Skip to content

Commit 095daf5

Browse files
authored
Merge pull request pypa#1621 from mayeut/minimal-uv-test
test: add minimal test for uv
2 parents 8811efb + deca00d commit 095daf5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ on:
1414
paths:
1515
- ".github/workflows/build.yml"
1616
- "docker/**"
17+
- "tests/**"
1718
- "*.sh"
1819
pull_request:
1920
paths:
2021
- ".github/workflows/build.yml"
2122
- "docker/**"
23+
- "tests/**"
2224
- "*.sh"
2325

2426
concurrency:

tests/run_tests.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ pipx run nox --version
123123
pipx install --pip-args='--no-python-version-warning --no-input' nox
124124
nox --version
125125
tar --version | grep "GNU tar"
126+
if [ "${AUDITWHEEL_POLICY:0:9}_${AUDITWHEEL_ARCH}" != "musllinux_s390x" ] && [ "${AUDITWHEEL_ARCH}" != "ppc64le" ]; then
127+
# no uv on musllinux s390x
128+
# FIXME, ppc64le test fails on Travis CI but works with qemu
129+
uv version
130+
mkdir /tmp/uv-test
131+
pushd /tmp/uv-test
132+
uv venv --python python3.12
133+
uv pip install -r /opt/_internal/build_scripts/requirements3.12.txt
134+
popd
135+
fi
126136

127137
# check libcrypt.so.1 can be loaded by some system packages,
128138
# as LD_LIBRARY_PATH might not be enough.

0 commit comments

Comments
 (0)