Skip to content

Commit

Permalink
try using osgeo gdal container
Browse files Browse the repository at this point in the history
  • Loading branch information
philiporlando committed Dec 31, 2023
1 parent 0455344 commit e18700a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
jobs:
test:
runs-on: ubuntu-latest

# Use Docker container to avoid GDAL dependency issues
container:
image: osgeo/gdal:ubuntu-small-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -36,8 +40,8 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

# Install GDAL and its development files
- name: Install GDAL
# Install system dependencies for GDAL
- name: Install system dependencies for GDAL
run: |
sudo apt-get update
sudo apt-get install -y libgdal-dev gdal-bin
Expand Down

0 comments on commit e18700a

Please sign in to comment.