Skip to content

Commit

Permalink
Update GMT Dev Tests workflow to test on macOS-12 and ubuntu-22.04 (#…
Browse files Browse the repository at this point in the history
…1918)

* Update GMT Dev Tests workflow to test on macOS-12
* Update GMT Dev Tests workflow to test on ubuntu-22.04
* Two jobs are ran on Ubuntu for draft PRs, not one

Co-authored-by: Dongdong Tian <[email protected]>
  • Loading branch information
weiji14 and seisman authored Jun 15, 2022
1 parent 593d0e0 commit 1067fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ jobs:
# Is it a draft Pull Request (true or false)?
isDraft:
- ${{ github.event.pull_request.draft }}
# Only run one job (Ubuntu + Python 3.10) for draft PRs
# Only run two jobs (Ubuntu + Python 3.8/3.10) for draft PRs
exclude:
- os: macOS-latest
isDraft: true
- os: windows-latest
isDraft: true
# - os: ubuntu-latest
# python-version: 3.7
# isDraft: true
# 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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.10']
os: [ubuntu-latest, macOS-11.0, windows-2022]
os: [ubuntu-22.04, macOS-12, windows-2022]
gmt_git_ref: [master]
timeout-minutes: 30
defaults:
Expand Down

0 comments on commit 1067fa3

Please sign in to comment.