Skip to content

Commit

Permalink
install gdal python bindings in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elisalle committed Jan 2, 2025
1 parent a7f0d07 commit 4534aaa
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,19 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Install sqlite3 and spatialite
- name: Install GDAL, sqlite3 and spatialite
run: |
sudo apt update
sudo apt install --yes --no-install-recommends sqlite3 libsqlite3-mod-spatialite
sudo apt install --yes --no-install-recommends sqlite3 libsqlite3-mod-spatialite libgdal-dev gdal-bin
sqlite3 --version
- name: Install gdal (for ogr2ogr)
run: |
sudo apt update
sudo apt install --yes --no-install-recommends gdal-bin
ogr2ogr --version
- name: Install python dependencies
shell: bash
run: |
pip install --disable-pip-version-check --upgrade pip setuptools wheel
pip install ${{ matrix.pins }} .[test,cli]
pip install GDAL==$(gdal-config --version)
pip list
- name: Run tests
Expand Down

0 comments on commit 4534aaa

Please sign in to comment.