Skip to content

Commit 1067fa3

Browse files
weiji14seisman
andauthored
Update GMT Dev Tests workflow to test on macOS-12 and ubuntu-22.04 (#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]>
1 parent 593d0e0 commit 1067fa3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,12 @@ jobs:
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.10) for draft PRs
37+
# Only run two jobs (Ubuntu + Python 3.8/3.10) for draft PRs
3838
exclude:
3939
- os: macOS-latest
4040
isDraft: true
4141
- os: windows-latest
4242
isDraft: true
43-
# - os: ubuntu-latest
44-
# python-version: 3.7
45-
# isDraft: true
4643
# Pair Python 3.8 with NumPy 1.19 and Python 3.10 with NumPy 1.22
4744
# Only install optional packages on Python 3.10/NumPy 1.22
4845
include:

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
python-version: ['3.10']
32-
os: [ubuntu-latest, macOS-11.0, windows-2022]
32+
os: [ubuntu-22.04, macOS-12, windows-2022]
3333
gmt_git_ref: [master]
3434
timeout-minutes: 30
3535
defaults:

0 commit comments

Comments
 (0)