Skip to content

Commit

Permalink
feat: add matrix python version 9 to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ACornuIGN committed Oct 4, 2024
1 parent c1768f5 commit ead5857
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test_ubu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,34 @@ on:
pull_request:

jobs:
test:
test-on-ubuntu:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout branch
uses: actions/checkout@v4

- name: Install environment
- name: Install GDAL
run: |
sudo apt-get update
sudo apt-get install gdal-bin libgdal-dev
python -m pip install --upgrade pip
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install environment
run: |
python3 -m pip install --upgrade pip
pip install GDAL==3.4.1
pip install -r ./borea_dependency/requirements-dev.txt
Expand Down

0 comments on commit ead5857

Please sign in to comment.