diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e4b27d..bc5c67d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,16 +44,11 @@ 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 @@ -61,6 +56,7 @@ jobs: 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