File tree 3 files changed +12
-9
lines changed
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
- # This workflow installs PyGMT dependencies, builds documentation and runs tests on GMT master
1
+ # This workflow installs PyGMT dependencies, builds documentation and runs tests on GMT latest
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
3
4
- name : GMT Master Tests
4
+ name : GMT Latest Tests
5
5
6
6
on :
7
7
# push:
14
14
15
15
jobs :
16
16
test_gmt_master :
17
- name : ${{ matrix.os }} - Python ${{ matrix.python-version }}
17
+ name : ${{ matrix.os }} - GMT ${{ matrix.gmt_git_ref }}
18
18
runs-on : ${{ matrix.os }}
19
19
strategy :
20
20
fail-fast : false
21
21
matrix :
22
22
python-version : [3.8]
23
23
os : [ubuntu-20.04, macOS-10.15]
24
+ gmt_git_ref : [6.1, master]
24
25
env :
25
26
# LD_LIBRARY_PATH: ${{ github.workspace }}/gmt/lib:$LD_LIBRARY_PATH
26
27
GMT_INSTALL_DIR : ${{ github.workspace }}/gmt-install-dir
54
55
- name : Install build dependencies
55
56
run : conda install cmake libblas libcblas liblapack fftw gdal ghostscript libnetcdf hdf5 zlib curl pcre ipython pytest pytest-cov pytest-mpl
56
57
57
- # Install GMT master branch
58
- - name : Install GMT from master
58
+ # Build and install latest GMT from GitHub
59
+ - name : Install GMT ${{ matrix.gmt_git_ref }} branch
59
60
run : curl https://raw.githubusercontent.com/GenericMappingTools/gmt/master/ci/build-gmt.sh | bash
61
+ env :
62
+ GMT_GIT_REF : ${{ matrix.gmt_git_ref }}
60
63
61
64
# Download cached remote files (artifacts) from Github
62
65
- name : Download remote data from Github
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ There are 3 configuration files located in `.github/workflows`:
54
54
This is ran on every commit on the * master* and Pull Request branches.
55
55
It is also scheduled to run daily on the * master* branch.
56
56
57
- 2 . ` ci_tests_dev.yaml ` (GMT Master Tests on Linux/macOS).
57
+ 2 . ` ci_tests_dev.yaml ` (GMT Latest Tests on Linux/macOS).
58
58
59
59
This is only triggered when a review is requested or re-requested on a PR.
60
60
It is also scheduled to run daily on the * master* branch.
Original file line number Diff line number Diff line change 15
15
.. image :: https://github.com/GenericMappingTools/pygmt/workflows/Tests/badge.svg
16
16
:alt: GitHub Actions Tests status
17
17
:target: https://github.com/GenericMappingTools/pygmt/actions?query=workflow%3ATests
18
- .. image :: https://github.com/GenericMappingTools/pygmt/workflows/GMT%20Master %20Tests/badge.svg
19
- :alt: GitHub Actions GMT Master Tests status
20
- :target: https://github.com/GenericMappingTools/pygmt/actions?query=workflow%3A"GMT+Master +Tests"
18
+ .. image :: https://github.com/GenericMappingTools/pygmt/workflows/GMT%20Latest %20Tests/badge.svg
19
+ :alt: GitHub Actions GMT Latest Tests status
20
+ :target: https://github.com/GenericMappingTools/pygmt/actions?query=workflow%3A%22GMT+Latest +Tests%22
21
21
.. image :: https://img.shields.io/codecov/c/github/GenericMappingTools/pygmt/master.svg?style=flat-square
22
22
:alt: Test coverage status
23
23
:target: https://codecov.io/gh/GenericMappingTools/pygmt
You can’t perform that action at this time.
0 commit comments