Skip to content

Test pygmt with GMT master branch #345

Closed

Description

@seisman

Currently, we test pygmt with GMT 6.0.0rc4. I think we also need to test pygmt with the GMT master branch, to make sure changes in the core GMT don't break pygmt.

Activity

  1. added
    maintenance
    on Oct 12, 2019
  2. weiji14 commented on Mar 11, 2020

    @weiji14
    Member

    Continuing on the discussion from #397, I'm just throwing out some options here. In order of least to most work, do we want to:

    1. Just test against master on Linux (i.e. only edit the .travis.yml file), basically Build GMT master instead of using conda-forge #261 all over again.
    2. Test on all platforms (Linux, MacOS, Windows and edit both .travis.yml and .azure-pipelines.yml
    3. Refactor our test suite completely, and maybe consolidate our tests into one platform in one go:
      a) Follow core GMT and put everything in the azure-pipelines.yml file. See Enable Linux CI on azure pipelines gmt#988.
      b) Go the Github Actions build matrix route, to test multiple platforms/Python versions. See also https://github.com/marketplace/actions/setup-miniconda.

    As a side note, do we want to be testing for compatibility against multiple GMT versions in the long run (e.g. 6.0, 6.1, 6.2, etc?).

  3. seisman commented on Mar 18, 2020

    @seisman
    MemberAuthor

    Ideally, we should test multiple GMT versions for compatibility. However, it seems difficult to maintain.

    Sometimes, different GMT versions may produce slightly different images (e.g. a bug in 6.0.0, but fixed in 6.1.0), but the pygmt testing mechanism can only have one baseline image. Thus some pygmt tests must be failing for at least one GMT version.

  4. added this to the 0.2.0 milestone on May 5, 2020
  5. modified the milestones: 0.2.x, 0.1.x on Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions