Uh oh!
There was an error while loading. Please reload this page.
Add a workflow and Makefile target to test old GMT versions every Tuesday - #2079
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
9f19869 to
8d3cf45CompareUh oh!
There was an error while loading. Please reload this page.
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: Max Jones <meghanj@alum.mit.edu>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
Sep 9, 2022
Ping @weiji14 and @maxrjones for another round of review. |
weiji14
left a comment
There was a problem hiding this comment.
Some suggestions to run these tests on lower versions of Python and Operating Systems.
| @@ -0,0 +1,105 @@ | |||
| # This workflow installs PyGMT and runs tests with old GMT versions | |||
| name: GMT Backward Tests | |||
There was a problem hiding this comment.
Not so sure if 'backward' is a good word, how about 'legacy' (https://en.wikipedia.org/wiki/Legacy_system)? Maybe we need to ask a native English speaker 🙂
| name: GMT Backward Tests | |
| name: GMT Legacy Tests |
There was a problem hiding this comment.
Legacy sounds good and let's wait for some inputs for native English speakers.
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>
| @@ -0,0 +1,105 @@ | |||
| # This workflow installs PyGMT and runs tests with old GMT versions | |||
There was a problem hiding this comment.
Remember to rename the workflow file if we decide to call it "GMT Legacy Tests"
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…sday (GenericMappingTools#2079) Co-authored-by: Max Jones <meghanj@alum.mit.edu> Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Description of proposed changes
To test PyGMT with old GMT versions, a new Makefile target and a new workflow are added in this PR.
Makefile target
test_no_imagesBecause the baseline images usually have slight changes for different GMT versions, it makes little sense to compare the baseline images generated by GMT 6.4 when running the tests with GMT 6.3. However, we still want to run these image-building tests to make sure they don't crash or raise errors. This is done by NOT adding the
--mploption to pytest.New workflow "GMT Backwards Tests"
This workflow is modified from the "GMT Dev Tests" workflow. It will run when a PR is marked ready for review and will run every Tuesday.
Fixes#1991.
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