Skip to content

Commit

Permalink
Merge pull request #1621 from mayeut/minimal-uv-test
Browse files Browse the repository at this point in the history
test: add minimal test for uv
  • Loading branch information
mayeut authored Jun 23, 2024
2 parents 8811efb + deca00d commit 095daf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ on:
paths:
- ".github/workflows/build.yml"
- "docker/**"
- "tests/**"
- "*.sh"
pull_request:
paths:
- ".github/workflows/build.yml"
- "docker/**"
- "tests/**"
- "*.sh"

concurrency:
Expand Down
10 changes: 10 additions & 0 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ pipx run nox --version
pipx install --pip-args='--no-python-version-warning --no-input' nox
nox --version
tar --version | grep "GNU tar"
if [ "${AUDITWHEEL_POLICY:0:9}_${AUDITWHEEL_ARCH}" != "musllinux_s390x" ] && [ "${AUDITWHEEL_ARCH}" != "ppc64le" ]; then
# no uv on musllinux s390x
# FIXME, ppc64le test fails on Travis CI but works with qemu
uv version
mkdir /tmp/uv-test
pushd /tmp/uv-test
uv venv --python python3.12
uv pip install -r /opt/_internal/build_scripts/requirements3.12.txt
popd
fi

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

0 comments on commit 095daf5

Please sign in to comment.