Skip to content

Commit a07f9df

Browse files
CI: Run dev tests on Scientific Python nightly wheels (#2612)
Check that PyGMT will work on future versions of numpy>=2.0.0, pandas>=2.1.0, xarray>=2023.7.1 and so on. Uses pre-built wheels available via the extra index at https://anaconda.org/scientific-python-nightly-wheels, see also https://scientific-python.org/specs/spec-0004. Co-authored-by: Yvonne Fröhlich <[email protected]>
1 parent 953b0e9 commit a07f9df

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tests PyGMT on Linux/macOS/Windows
1+
# Test PyGMT on Linux/macOS/Windows
22
#
33
# This workflow runs regular PyGMT tests and uploads test coverage reports stored
44
# in `.coverage.xml` to https://app.codecov.io/gh/GenericMappingTools/pygmt

.github/workflows/ci_tests_dev.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Tests PyGMT with GMT dev version on Linux/macOS/Windows
1+
# Test PyGMT with GMT dev version on Linux/macOS/Windows
22
#
3-
# This workflow runs regular PyGMT tests with the GMT dev version.
3+
# This workflow runs regular PyGMT tests with the GMT dev version, and also
4+
# pre-release versions of several dependencies like NumPy, Pandas, Xarray, etc.
45
# If any tests fail, it also uploads the diff images as workflow artifacts.
56
# On Linux/macOS, GMT dev version is installed by fetching the latest source
67
# codes from the GMT master branch and compiling.
@@ -119,6 +120,7 @@ jobs:
119120
- name: Install dependencies
120121
run: |
121122
python -m pip install --pre --prefer-binary \
123+
--extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
122124
numpy pandas xarray netCDF4 packaging \
123125
build contextily dvc geopandas ipython rioxarray \
124126
'pytest>=6.0' pytest-cov pytest-doctestplus pytest-mpl \

.github/workflows/ci_tests_legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tests PyGMT with GMT legacy versions on Linux/macOS/Windows
1+
# Test PyGMT with GMT legacy versions on Linux/macOS/Windows
22
#
33
# This workflow runs regular PyGMT tests with GMT legacy versions. Due to the
44
# minor baseline image changes between GMT versions, the workflow only runs

0 commit comments

Comments
 (0)