Skip to content

Commit

Permalink
Try enabling cache of deps, uv run python
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-ward committed Sep 2, 2024
1 parent 376e8c5 commit 2b886fa
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,19 @@ jobs:
shell: bash
run: |
uv pip install --no-cache wheelhouse/*.tar.gz
uv pip install --no-cache pytest pandas pyproj shapely>=2
uv pip install --no-cache --no-deps geopandas
uv pip install pytest pandas pyproj shapely>=2
uv pip install --no-deps geopandas
uv pip list
- name: Run tests
shell: bash
# virtual environment is automatically activated
run: |
cd ..
python -c "import pyogrio; print(f'GDAL version: {pyogrio.__gdal_version__}\nGEOS version: {pyogrio.__gdal_geos_version__}')"
python -m pytest --pyargs pyogrio.tests -v
# python -c "import pyogrio; print(f'GDAL version: {pyogrio.__gdal_version__}\nGEOS version: {pyogrio.__gdal_geos_version__}')"
# python -m pytest --pyargs pyogrio.tests -v
uv run python -c "import pyogrio; print(f'GDAL version: {pyogrio.__gdal_version__}\nGEOS version: {pyogrio.__gdal_geos_version__}')"
uv run python -m pytest --pyargs pyogrio.tests -v
build-wheels-linux:
name: Build wheels on Linux
Expand Down Expand Up @@ -302,9 +304,9 @@ jobs:
- name: Install dependencies and pyogrio wheel
shell: bash
run: |
uv pip install --no-cache -r ci/requirements-wheel-test.txt
uv pip install -r ci/requirements-wheel-test.txt
if [ ${{ matrix.python-version }} != "3.12" ]; then
uv pip install --no-cache --no-deps geopandas
uv pip install geopandas
fi
uv pip install --no-cache --pre --no-index --find-links wheelhouse pyogrio
uv pip list
Expand Down

0 comments on commit 2b886fa

Please sign in to comment.