Skip to content

Commit f332d45

Browse files
weiji14Josh Sixsmith
authored andcommitted
NEP29: Run PyGMT tests and docs build on Python 3.10 (GenericMappingTools#1868)
1 parent f5cd220 commit f332d45

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: ['3.9']
27+
python-version: ['3.10']
2828
os: [ubuntu-latest, macOS-latest, windows-latest]
2929
# Is it a draft Pull Request (true or false)?
3030
isDraft:
3131
- ${{ github.event.pull_request.draft }}
32-
# Only run one job (Ubuntu + Python 3.9) for draft PRs
32+
# Only run one job (Ubuntu + Python 3.10) for draft PRs
3333
exclude:
3434
- os: macOS-latest
3535
isDraft: true

.github/workflows/ci_tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ['3.8', '3.9']
32+
python-version: ['3.8', '3.10']
3333
os: [ubuntu-latest, macOS-latest, windows-latest]
3434
# Is it a draft Pull Request (true or false)?
3535
isDraft:
3636
- ${{ github.event.pull_request.draft }}
37-
# Only run one job (Ubuntu + Python 3.9) for draft PRs
37+
# Only run one job (Ubuntu + Python 3.10) for draft PRs
3838
exclude:
3939
- os: macOS-latest
4040
isDraft: true
@@ -43,13 +43,13 @@ jobs:
4343
# - os: ubuntu-latest
4444
# python-version: 3.7
4545
# isDraft: true
46-
# Pair Python 3.8 with NumPy 1.19 and Python 3.9 with NumPy 1.22
47-
# Only install optional packages on Python 3.9/NumPy 1.22
46+
# Pair Python 3.8 with NumPy 1.19 and Python 3.10 with NumPy 1.22
47+
# Only install optional packages on Python 3.10/NumPy 1.22
4848
include:
4949
- python-version: '3.8'
5050
numpy-version: '1.19'
5151
optional-packages: ''
52-
- python-version: '3.9'
52+
- python-version: '3.10'
5353
numpy-version: '1.22'
5454
optional-packages: 'geopandas ipython'
5555
timeout-minutes: 30

0 commit comments

Comments
 (0)