Skip to content

Commit

Permalink
NEP29: Run PyGMT tests and docs build on Python 3.10 (#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Apr 6, 2022
1 parent b4ac7cf commit 0f145d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9']
python-version: ['3.10']
os: [ubuntu-latest, macOS-latest, windows-latest]
# Is it a draft Pull Request (true or false)?
isDraft:
- ${{ github.event.pull_request.draft }}
# Only run one job (Ubuntu + Python 3.9) for draft PRs
# Only run one job (Ubuntu + Python 3.10) for draft PRs
exclude:
- os: macOS-latest
isDraft: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9']
python-version: ['3.8', '3.10']
os: [ubuntu-latest, macOS-latest, windows-latest]
# Is it a draft Pull Request (true or false)?
isDraft:
- ${{ github.event.pull_request.draft }}
# Only run one job (Ubuntu + Python 3.9) for draft PRs
# Only run one job (Ubuntu + Python 3.10) for draft PRs
exclude:
- os: macOS-latest
isDraft: true
Expand All @@ -43,13 +43,13 @@ jobs:
# - os: ubuntu-latest
# python-version: 3.7
# isDraft: true
# Pair Python 3.8 with NumPy 1.19 and Python 3.9 with NumPy 1.22
# Only install optional packages on Python 3.9/NumPy 1.22
# Pair Python 3.8 with NumPy 1.19 and Python 3.10 with NumPy 1.22
# Only install optional packages on Python 3.10/NumPy 1.22
include:
- python-version: '3.8'
numpy-version: '1.19'
optional-packages: ''
- python-version: '3.9'
- python-version: '3.10'
numpy-version: '1.22'
optional-packages: 'geopandas ipython'
timeout-minutes: 30
Expand Down

0 comments on commit 0f145d8

Please sign in to comment.