Uh oh!
There was an error while loading. Please reload this page.
Update "GMT Dev Tests" workflow to test macOS-11.0 and pre-release Python packages - #1105
Conversation
- Add more paths to `paths-ignore` - Change "ubuntu-20.04" to "ubuntu-latest", "macOs-10.15" to "macOS-latest" - Add "activate-environment: pygmt" to the setup-miniconda step - Install PyGMT dependencies from conda-forge, not pip
seisman
commented
Mar 23, 2021
NOTE: after merging this PR, we also need to specify the numpy version in the "GMT Dev Tests" workflow in #1074. |
There was a problem hiding this comment.
NOTE: after merging this PR, we also need to specify the numpy version in the "GMT Dev Tests" workflow in #1074.
Do we actually need to specify the NumPy version? I think it's fine to just grab the latest as is being done currently.
On a related note, maybe it's a good idea to check pre-release versions of NumPy in this dev workflow (i.e. use pip install --pre numpy) so that we can test NumPy release candidates (when they are available every 6 months or so, see https://pypi.org/project/numpy/#history).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
/test-gmt-dev https://github.com/GenericMappingTools/pygmt/actions/runs/678197698 Edit: If I understand it correctly, slash command |
seisman
commented
Mar 23, 2021
macOS-11.0 works well: https://github.com/GenericMappingTools/pygmt/pull/1105/checks?check_run_id=2171816161 |
weiji14
left a comment
There was a problem hiding this comment.
macOS-11.0 works well: https://github.com/GenericMappingTools/pygmt/pull/1105/checks?check_run_id=2171816161
Excellent! Not that I use macOS, but I'm sure it'll be good news for many people.
I think we can remove the skip-changelog tag and change the title of this PR to "Update ci_tests_dev.yaml to test macOS-11.0 and pre-release Python packages", or something along those lines.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
weiji14
left a comment
There was a problem hiding this comment.
Looks good to me, but someone can have another look too.
seisman
commented
Mar 23, 2021
FYI, so we have to install dvc using conda, not pip. |
seisman
commented
Mar 23, 2021
For anyone who want to review this PR, the latest runs of the "GMT Tests workflow" are available at: https://github.com/GenericMappingTools/pygmt/actions/runs/678466597 The tests fail because the baseline images are not updated for GMT 6.2.0. All other steps work, and all Python packages are installed using |
…thon packages (GenericMappingTools#1105) - Install pre-release Python packages using pip install --pre, so that the workflow also tests dev Python packages - Change "macOS-10.15" to "macOS-11.0" - Change "ubuntu-20.04" to "ubuntu-latest" (ubuntu-latest is just an alias of ubuntu-20.04) - Add "activate-environment: pygmt" to the setup-miniconda step - Add more paths to paths-ignore Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Description of proposed changes
pip install --pre, so that the workflow also tests dev Python packagespaths-ignoreFixes #
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version