Test Python Prerelease #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Python Prerelease | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-on-prerelease-python: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/corbel-spatial/here-be-dragons:next | |
| steps: | |
| # https://github.com/actions/checkout | |
| - uses: actions/checkout@v6 | |
| with: | |
| sparse-checkout: | | |
| pyproject.toml | |
| README.md | |
| src | |
| tests | |
| sparse-checkout-cone-mode: false | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| uv pip install --system \ | |
| https://github.com/geopandas/pyogrio.git \ | |
| https://github.com/pandas-dev/pandas.git \ | |
| https://github.com/geopandas/geopandas.git | |
| uv pip install --system maturin[patchelf] pytest | |
| uv venv --system-site-packages | |
| - name: Build sources | |
| shell: bash | |
| run: | | |
| source .venv/bin/activate | |
| git clone --depth 1 https://github.com/apache/sedona-db.git | |
| cd sedona-db/python/sedonadb | |
| maturin develop --release | |
| deactivate | |
| uv pip install --system . | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| uv pip install --system . | |
| pytest ./tests -vv -s |