Bug fixes for netcdf files, and more #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
name: Linux build | |
jobs: | |
py-check: | |
runs-on: ${{ matrix.config.os }} | |
name: ${{ matrix.config.os }} (${{ matrix.config.py }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { os: ubuntu-latest, py: "3.8" } | |
- { os: ubuntu-latest, py: "3.9" } | |
- { os: ubuntu-latest, py: "3.10" } | |
- { os: ubuntu-latest, py: "3.11" } | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.config.py }} | |
- name: Install libgdal-dev | |
run: | | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update | |
sudo apt-get install gdal-bin libgdal-dev | |
pip install GDAL==`gdal-config --version` | |
- name: Install dependencies | |
run: | | |
pip install . | |
- name: PKG-TEST | |
run: | | |
python -m unittest discover tests/ |