Skip to content

[pre-commit.ci] pre-commit autoupdate (#47) #170

[pre-commit.ci] pre-commit autoupdate (#47)

[pre-commit.ci] pre-commit autoupdate (#47) #170

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Linux build
jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install GDAL
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
- name: Test GDAL installation
run: |
python -c "from osgeo import gdal"
gdalinfo --version
- name: Install dependencies
run: |
pip install -r requirements.txt -r requirements_dev.txt
pip install .
- name: PKG-TEST
run: |
python -m unittest discover tests/