Skip to content

Migrate Figure.coast tests to dvc - #1102

Closed
willschlitzer wants to merge 118 commits into
masterfrom
coast-test-dvc
Closed

willschlitzer wants to merge 118 commits into
masterfrom
coast-test-dvc

Conversation

@willschlitzer

Copy link
Copy Markdown
Contributor

Changing the tests in test_coast.py to use mpl_image_compare and adding the reference images to dvc.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

# Conflicts:
#	examples/projections/cyl/cyl_transverse_mercator.py
#	examples/projections/cyl/cyl_universal_transverse_mercator.py
@maxrjones

maxrjones commented Mar 22, 2021 •

Copy link
Copy Markdown
Member

Did this branch maybe get made off a fork that's behind the pygmt master branch? I think that could be why there's so many commits involved, which isn't great.

Edit - didn't actually look at the commits. Maybe it's a branch off the solar branch? Can you fix this?

@willschlitzer

willschlitzer commented Mar 22, 2021 •

Copy link
Copy Markdown
Contributor Author

Did this branch maybe get made off a fork that's behind the pygmt master branch? I think that could be why there's so many commits involved, which isn't great.

Yep. Forgot to switch back to set the remote as PyGMT repo after I switched to my fork to checkout wrap-solar. I'll close this PR. and try again.

@willschlitzer
willschlitzer deleted the coast-test-dvc branch March 22, 2021 21:55

This branch was previously deployed

1 inactive deployment
Preview — a1aef1b7 Deployed Mar 22, 2021 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants