Skip to content

Commit c8e6e2c

Browse files
committed
Use gdal image
1 parent 8fca2fa commit c8e6e2c

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14+
container:
15+
image: ghcr.io/osgeo/gdal:ubuntu-full-3.10.3 # Use the GDAL container image
1416

1517
steps:
1618
- name: Checkout code
@@ -19,18 +21,13 @@ jobs:
1921
- name: Set up Python
2022
uses: actions/setup-python@v4
2123
with:
22-
python-version: '3.13.2' # Specify your Python version
24+
python-version: '3.13.2' # Specify your Python version
2325

24-
- name: Install system dependencies
25-
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y libgdal-dev
28-
29-
- name: Install Python dependencies
26+
- name: Install dependencies
3027
run: |
3128
python -m pip install --upgrade pip
3229
pip install .
3330
3431
- name: Run Pytest
3532
run: |
36-
pytest
33+
pytest

0 commit comments

Comments
 (0)