Skip to content

Commit 845fbbd

Browse files
Merge branch 'main' into wrap-ternary
2 parents b5087ec + 1549ed1 commit 845fbbd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci_tests_dev.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
token: ${{ steps.generate-token.outputs.token }}
7979
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
8080
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
81+
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
8182

8283
# Install Mambaforge with conda-forge dependencies
8384
- name: Setup Mambaforge
@@ -105,6 +106,19 @@ jobs:
105106
106107
# Pull baseline image data from dvc remote (DAGsHub)
107108
- name: Pull baseline image data from dvc remote
109+
if: github.event_name == 'schedule'
110+
run: |
111+
ORIGINAL_BRANCH=$(git branch --show-current)
112+
# Pull down GMT 6.4 baseline images from the gmt-6.4 branch
113+
# https://github.com/GenericMappingTools/pygmt/pull/1883
114+
git checkout gmt-6.4
115+
dvc pull
116+
ls -lhR pygmt/tests/baseline/
117+
git checkout ${ORIGINAL_BRANCH}
118+
119+
# Pull baseline image data from dvc remote (DAGsHub)
120+
- name: Pull baseline image data from dvc remote
121+
if: github.event_name != 'schedule'
108122
run: |
109123
dvc pull
110124
ls -lhR pygmt/tests/baseline/

0 commit comments

Comments
 (0)