Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an option to return base64-encoded images in CI log #82

Open
astrofrog opened this issue Nov 25, 2018 · 0 comments
Open

Provide an option to return base64-encoded images in CI log #82

astrofrog opened this issue Nov 25, 2018 · 0 comments

Comments

@astrofrog
Copy link
Collaborator

Some CI services don't have good support for artifacts. In those cases we could print out to the log the base64 expected and actual image, inside a script to generate these files. Then one can simply copy/paste the script, run it locally, and get the images. See https://github.com/WorldWideTelescope/pywwt/blob/master/pywwt/tests/test_qt_widget.py#L67 for an example of this.

This could be triggered e.g. by an environment variable or a command-line flag (--mpl-base64).

Opened this following mention of this problem in #81

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

No branches or pull requests

1 participant