Skip to content

Commit 4060160

Browse files
authored
CI: Install dvc via uv in the "GMT Tests" workflow (#3695)
1 parent 05f7b09 commit 4060160

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ jobs:
133133
xarray${{ matrix.xarray-version }}
134134
netCDF4
135135
packaging
136-
dvc
137136
make
138137
pip
139138
python-build
@@ -154,9 +153,21 @@ jobs:
154153
env:
155154
GH_TOKEN: ${{ github.token }}
156155

156+
- name: Install uv
157+
uses: astral-sh/[email protected]
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+
157166
# Pull baseline image data from dvc remote (DAGsHub)
158167
- 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/
160171
161172
# Install the package that we want to test
162173
- name: Install the package

0 commit comments

Comments
 (0)