Skip to content

CI: Cache the baselines tracked by DVC#8923

Merged
seisman merged 1 commit intomasterfrom
ci/dvc
Mar 13, 2026
Merged

CI: Cache the baselines tracked by DVC#8923
seisman merged 1 commit intomasterfrom
ci/dvc

Conversation

@seisman
Copy link
Member

@seisman seisman commented Mar 13, 2026

As mentioned previously and also discussed in GenericMappingTools/pygmt#4147, dvc pull started to require authentication recently, so PRs from external contributors or maintainers who are not added to DagsHub, will see failures because dvc fails to pull images.

The solution is to let the CI cache the DVC images, and then use the cached version if dvc pull fails. This workaround has been used in the pygmt project and works well. So it should also work in GMT.

@seisman seisman marked this pull request as draft March 13, 2026 03:17
@seisman seisman marked this pull request as ready for review March 13, 2026 04:13
@seisman seisman merged commit 66ea9b8 into master Mar 13, 2026
6 of 9 checks passed
@seisman seisman deleted the ci/dvc branch March 13, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants