CI: Pull baseline images before building GMT
@@ -96,6 +96,12 @@ jobs:
dvc ipython 'pytest>=6.0' pytest-cov \
pytest-mpl sphinx-gallery tomli
+ # Pull baseline image data from dvc remote (DAGsHub)
+ - name: Pull baseline image data from dvc remote
+ run: |
+ dvc pull
+ ls -lhR pygmt/tests/baseline/
+
# Build and install latest GMT from GitHub
- name: Install GMT ${{ matrix.gmt_git_ref }} branch (Linux/macOS)
run: curl https://raw.githubusercontent.com/GenericMappingTools/gmt/master/ci/build-gmt.sh | bash
@@ -126,11 +132,6 @@ jobs:
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
ls -lhR ~/.gmt
- # Pull baseline image data from dvc remote (DAGsHub)
- - name: Pull baseline image data from dvc remote
- run: |
- dvc pull
- ls -lhR pygmt/tests/baseline/
# Install the package that we want to test
- name: Install the package
