Skip to content

Commit

Permalink
Reduce build matrix, remove Python 3.10 (#647)
Browse files Browse the repository at this point in the history
* Replace full matrix with all combinations of Python version and GRASS version by hand-picked combinations.
* Replace Python 3.10 by 3.7 in the matrix because of failing GDAL package install in 3.9 and 3.10.

In the future, tags or other branches can be added more freely without introducing multiple new jobs.
New Python versions can be tested with recent GRASS versions without interfering with old GRASS versions.
Multiple Python versions can still be tested (with a reduced number of jobs), although not in combination
with all GRASS versions.
  • Loading branch information
wenzeslaus committed Dec 21, 2021
1 parent aff69a9 commit af95a23
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -15,14 +15,15 @@ jobs:

strategy:
matrix:
grass-version:
- main
- releasebranch_8_0
python-version:
# Test with supported Python versions.
# Test only with every second version to reduce number of jobs.
- "3.8"
- "3.10"
# Test with relevant active branches or tags and supported Python
# versions, but also limit the number of jobs by, e.g., testing only
# every second version or testing older GRASS versions with older Python
# only.
include:
- grass-version: main
python-version: "3.8"
- grass-version: releasebranch_8_0
python-version: "3.7"
fail-fast: false

steps:
Expand Down

0 comments on commit af95a23

Please sign in to comment.