Skip to content

Commit 975f602

Browse files
author
Lachlan Grose
committed
fix: use os/python matrix
1 parent 8af5708 commit 975f602

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/linting_and_testing.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,18 @@ jobs:
2121

2222

2323
testing:
24-
name: Testing
25-
runs-on: ubuntu-24.04
24+
name: Testing${{ matrix.os }} python ${{ matrix.python-version }}
25+
runs-on: ${{ matrix.os }}
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
os: ${{ fromJSON(vars.BUILD_OS)}}
30+
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}}
2631
steps:
2732
- uses: actions/checkout@v4
33+
- uses: conda-incubator/setup-miniconda@v3
34+
with:
35+
python-version: ${{ matrix.python }}
2836
- name: Install GDAL
2937
run: |
3038
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

0 commit comments

Comments
 (0)