@@ -120,7 +120,7 @@ jobs:
120
120
run : curl https://raw.githubusercontent.com/GenericMappingTools/gmt/master/ci/build-gmt.sh | bash
121
121
env :
122
122
GMT_GIT_REF : ${{ matrix.gmt_git_ref }}
123
- GMT_INSTALL_DIR : ${{ github.workspace }}/gmt-install-dir
123
+ GMT_INSTALL_DIR : ${{ runner.temp }}/gmt-install-dir
124
124
if : runner.os != 'Windows'
125
125
126
126
- name : Install GMT ${{ matrix.gmt_git_ref }} branch (Windows)
@@ -139,13 +139,15 @@ jobs:
139
139
-DGMT_USE_THREADS=TRUE
140
140
cmake --build .
141
141
cmake --build . --target install
142
+ cd ..
143
+ rm -rf gmt/
142
144
env :
143
145
GMT_GIT_REF : ${{ matrix.gmt_git_ref }}
144
- GMT_INSTALL_DIR : ${{ github.workspace }}/gmt-install-dir
146
+ GMT_INSTALL_DIR : ${{ runner.temp }}/gmt-install-dir
145
147
if : runner.os == 'Windows'
146
148
147
149
- name : Add GMT's bin to PATH
148
- run : echo '${{ github.workspace }}/gmt-install-dir/bin' >> $GITHUB_PATH
150
+ run : echo '${{ runner.temp }}/gmt-install-dir/bin' >> $GITHUB_PATH
149
151
150
152
# Install dependencies from PyPI
151
153
- name : Install dependencies
@@ -163,7 +165,7 @@ jobs:
163
165
164
166
# Pull baseline image data from dvc remote (DAGsHub)
165
167
- name : Pull baseline image data from dvc remote
166
- run : dvc pull && ls -lhR pygmt/tests/baseline/
168
+ run : dvc pull --verbose && ls -lhR pygmt/tests/baseline/
167
169
168
170
# Download cached remote files (artifacts) from GitHub
169
171
- name : Download remote data from GitHub
@@ -191,7 +193,7 @@ jobs:
191
193
- name : Test with pytest
192
194
run : make test PYTEST_EXTRA="-r P"
193
195
env :
194
- GMT_LIBRARY_PATH : ${{ github.workspace }}/gmt-install-dir/lib
196
+ GMT_LIBRARY_PATH : ${{ runner.temp }}/gmt-install-dir/lib
195
197
196
198
# Upload diff images on test failure
197
199
- name : Upload diff images if any test fails
0 commit comments