Skip to content

Commit

Permalink
Install dvc and do dvc pull on GMT dev tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Mar 17, 2021
1 parent f34bb09 commit f3aa3c5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ jobs:
channels: conda-forge
miniconda-version: "latest"

# Install build dependencies from conda-forge
- name: Install build dependencies
# Install dependencies from conda-forge
- name: Install dependencies
run: |
conda install ninja cmake libblas libcblas liblapack fftw gdal ghostscript \
libnetcdf hdf5 zlib curl pcre ipython pytest pytest-cov pytest-mpl
conda install ninja cmake libblas libcblas liblapack fftw gdal \
ghostscript libnetcdf hdf5 zlib curl pcre ipython \
dvc pytest pytest-cov pytest-mpl
# Build and install latest GMT from GitHub
- name: Install GMT ${{ matrix.gmt_git_ref }} branch (Linux/macOS)
Expand Down Expand Up @@ -113,6 +114,12 @@ 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/
# Install the package that we want to test
- name: Install the package
run: |
Expand Down

0 comments on commit f3aa3c5

Please sign in to comment.