Add a Termux integration test (#18332)
After this, I want to figure out how to unify more of the smoke, system, and integration tests, but this seems like a sufficient start for Termux testing.
This commit is contained in:
@@ -652,6 +652,31 @@ jobs:
|
||||
.\uv.exe pip install --extra-index-url=$env:PYODIDE_INDEX --no-build numpy
|
||||
python -c 'import numpy'
|
||||
|
||||
integration-test-termux:
|
||||
name: "termux on android"
|
||||
timeout-minutes: 15
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: uv-linux-musl-${{ inputs.sha }}
|
||||
|
||||
- name: "Prepare binary"
|
||||
run: chmod +x ./uv
|
||||
|
||||
- name: "Run uv on Termux"
|
||||
run: |
|
||||
docker run --rm \
|
||||
-v "$PWD/uv:/uv" \
|
||||
-v "$PWD/test/integration/termux.sh:/test-termux.sh" \
|
||||
termux/termux-docker:x86_64 \
|
||||
/entrypoint.sh bash /test-termux.sh
|
||||
|
||||
integration-test-github-actions:
|
||||
name: "github actions"
|
||||
timeout-minutes: 10
|
||||
|
||||
Reference in New Issue
Block a user