Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull baseline images from the gmt-6.4 branch only for scheduled jobs #1882

Merged
merged 2 commits into from
Apr 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,23 @@ jobs:

# Pull baseline image data from dvc remote (DAGsHub)
- name: Pull baseline image data from dvc remote
if: github.event_name == 'schedule'
run: |
ORIGINAL_BRANCH=$(git branch --show-current)
# Pull down GMT 6.4 baseline images from the gmt-6.4 branch
seisman marked this conversation as resolved.
Show resolved Hide resolved
# https://github.com/GenericMappingTools/pygmt/pull/1883
git checkout gmt-6.4
dvc pull
ls -lhR pygmt/tests/baseline/
git checkout ${ORIGINAL_BRANCH}

# Pull baseline image data from dvc remote (DAGsHub)
- name: Pull baseline image data from dvc remote
if: github.event_name != 'schedule'
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
Expand Down