File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 78
78
token : ${{ steps.generate-token.outputs.token }}
79
79
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
80
80
comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
81
+ body : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
81
82
82
83
# Install Mambaforge with conda-forge dependencies
83
84
- name : Setup Mambaforge
@@ -105,6 +106,19 @@ jobs:
105
106
106
107
# Pull baseline image data from dvc remote (DAGsHub)
107
108
- 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'
108
122
run : |
109
123
dvc pull
110
124
ls -lhR pygmt/tests/baseline/
You can’t perform that action at this time.
0 commit comments