Skip to content

Commit f0ab167

Browse files
committed
Do dvc pull before pip install otherwise test PNGs aren't there
1 parent 4833466 commit f0ab167

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,19 @@ jobs:
103103
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
104104
ls -lhR ~/.gmt
105105
106-
# Install the package that we want to test
107-
- name: Install the package
108-
run: |
109-
python setup.py sdist --formats=zip
110-
pip install dist/*
111-
112106
# Install data version control (dvc) and pull data from dvc remote
113107
- name: Install dvc and pull data from dvc remote
114108
run: |
115109
pip install dvc
116110
dvc pull
117111
ls -lhR pygmt/
118112
113+
# Install the package that we want to test
114+
- name: Install the package
115+
run: |
116+
python setup.py sdist --formats=zip
117+
pip install dist/*
118+
119119
# Run the tests
120120
- name: Test with pytest
121121
run: make test PYTEST_EXTRA="-r P"

0 commit comments

Comments
 (0)