Skip to content

Commit

Permalink
can we use setup-python for sdist tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Sep 5, 2024
1 parent 5b95018 commit 9212eaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
image: "ghcr.io/osgeo/gdal:ubuntu-small-3.9.2"

steps:
- name: Install packages
run: |
apt-get update && apt-get install -y build-essential python3-dev
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Create virtual environment
# install uv and use it to create a virtual environment, then add it to
Expand Down Expand Up @@ -90,7 +91,6 @@ jobs:
shell: bash
# virtual environment is automatically activated
run: |
cd ..
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
Expand Down

0 comments on commit 9212eaa

Please sign in to comment.