56
56
strategy :
57
57
fail-fast : false
58
58
matrix :
59
- python-version : ['3.10 ', '3.12 ']
59
+ python-version : ['3.11 ', '3.13 ']
60
60
os : [ubuntu-latest, macos-latest, windows-latest]
61
61
# Is it a draft Pull Request (true or false)?
62
62
isDraft :
@@ -68,21 +68,21 @@ jobs:
68
68
- os : windows-latest
69
69
isDraft : true
70
70
include :
71
- # Python 3.10 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
72
- - python-version : ' 3.10 '
73
- numpy-version : ' 1.24 '
71
+ # Python 3.11 + core packages (minimum supported versions) + optional packages (minimum supported versions if any)
72
+ - python-version : ' 3.11 '
73
+ numpy-version : ' 1.25 '
74
74
pandas-version : ' =2.0'
75
75
xarray-version : ' =2023.04'
76
- optional-packages : ' contextily geopandas<1 ipython pyarrow rioxarray sphinx-gallery'
77
- # Python 3.12 + core packages (latest versions) + optional packages
78
- - python-version : ' 3.12 '
79
- numpy-version : ' 2.1 '
76
+ optional-packages : ' contextily geopandas<1 ipython pyarrow-core rioxarray sphinx-gallery'
77
+ # Python 3.13 + core packages (latest versions) + optional packages
78
+ - python-version : ' 3.13 '
79
+ numpy-version : ' 2.2 '
80
80
pandas-version : ' '
81
81
xarray-version : ' '
82
- optional-packages : ' contextily geopandas>=1.0 ipython pyarrow rioxarray sphinx-gallery'
83
- # Python 3.11 + core packages (Linux only)
82
+ optional-packages : ' contextily geopandas>=1.0 ipython pyarrow-core rioxarray sphinx-gallery'
83
+ # Python 3.12 + core packages (Linux only)
84
84
- os : ' ubuntu-latest'
85
- python-version : ' 3.11 '
85
+ python-version : ' 3.12 '
86
86
numpy-version : ' '
87
87
pandas-version : ' '
88
88
xarray-version : ' '
@@ -113,7 +113,7 @@ jobs:
113
113
114
114
# Install Micromamba with conda-forge dependencies
115
115
- name : Setup Micromamba
116
- uses :
mamba-org/[email protected] .2
116
+ uses :
mamba-org/[email protected] .3
117
117
with :
118
118
environment-name : pygmt
119
119
condarc : |
@@ -133,7 +133,6 @@ jobs:
133
133
xarray${{ matrix.xarray-version }}
134
134
netCDF4
135
135
packaging
136
- dvc
137
136
make
138
137
pip
139
138
python-build
@@ -154,9 +153,21 @@ jobs:
154
153
env :
155
154
GH_TOKEN : ${{ github.token }}
156
155
156
+ - name : Install uv
157
+
158
+
159
+ - name : Install dvc
160
+ run : |
161
+ uv venv
162
+ source .venv/bin/activate
163
+ uv pip install dvc
164
+ uv pip list
165
+
157
166
# Pull baseline image data from dvc remote (DAGsHub)
158
167
- name : Pull baseline image data from dvc remote
159
- run : dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/
168
+ run : |
169
+ source .venv/bin/activate
170
+ uv run dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/
160
171
161
172
# Install the package that we want to test
162
173
- name : Install the package
@@ -176,7 +187,7 @@ jobs:
176
187
177
188
# Upload coverage to Codecov
178
189
- name : Upload coverage to Codecov
179
- uses : codecov/codecov-action@v5.0.7
190
+ uses : codecov/codecov-action@v5.1.2
180
191
if : success() || failure()
181
192
with :
182
193
use_oidc : true
0 commit comments