Skip to content

CI: Run the 'GMT Tests' workflow on Python 3.10/3.12 with optional packages and Python 3.11 without optional packages#3618

Merged
seisman merged 5 commits intomainfrom
ci/nice-jobs
Nov 18, 2024
Merged

CI: Run the 'GMT Tests' workflow on Python 3.10/3.12 with optional packages and Python 3.11 without optional packages#3618
seisman merged 5 commits intomainfrom
ci/nice-jobs

Conversation

@seisman
Copy link
Member

@seisman seisman commented Nov 14, 2024

Description of proposed changes

Implement the idea in #3615 (comment).

Now the workflow has 7 jobs:

  • Python 3.10 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
  • Python 3.12 + core packages (latest versions) + optional packages
  • Python 3.11 + core packages [Linux only to ensure optional packages are truly optional]

Closes #3615.

@seisman seisman marked this pull request as ready for review November 14, 2024 09:06
@seisman seisman added maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. labels Nov 14, 2024
@seisman seisman added this to the 0.14.0 milestone Nov 14, 2024
Comment on lines +83 to +84
# Python 3.11 + core packages
- python-version: '3.11'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still prefer to keep the middle Python version (Python 3.11 currently) on Ubuntu only, no need to test on macOS/Windows.

@@ -183,7 +183,16 @@ def test_to_numpy_pandas_series_numpy_dtypes_numeric(dtype, expected_dtype):
"U10",
"string[python]",
pytest.param("string[pyarrow]", marks=skip_if_no(package="pyarrow")),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seisman seisman changed the title CI: Extend the 'GMT Tests' workflow to 9 jobs for three supported Python versions CI: Extend the 'GMT Tests' workflow to 7 jobs for three supported Python versions Nov 18, 2024
@seisman seisman changed the title CI: Extend the 'GMT Tests' workflow to 7 jobs for three supported Python versions CI: Run the 'GMT Tests' workflow on Python 3.10/3.12 with optional packages and Python 3.11 without optional packages Nov 18, 2024
@seisman seisman removed the needs review This PR has higher priority and needs review. label Nov 18, 2024
@seisman seisman merged commit d0bad08 into main Nov 18, 2024
@seisman seisman deleted the ci/nice-jobs branch November 18, 2024 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend the CI jobs in the "GMT Tests" workflow

3 participants