-
Notifications
You must be signed in to change notification settings - Fork 19
Adding pytest-mpl to ultraplot workflow #47
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
Adding pytest-mpl to ultraplot workflow #47
Conversation
|
The second call to pytest is still failing. IDK why. |
|
I think I got it... |
|
Yeah not sure if that second tag is necessary, but 🤞 |
|
And I give up. Sorry for the noise... |
|
hmm strange let me give it a crack. |
|
Maybe the rc stuff needs to be in a file and not just a string on the command line? |
|
I am wondering if the checkout erases the files. Locally that command runs form me. |
6934edd to
e6d28c8
Compare
|
yeah this command prints which doesn't match what the docs expect. |
|
Seems to be working now! |
|
Look at all that green ;-) |
|
woop woop! 🥳 |
beckermr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more item. We need to test that this fails if we change something. For example, let's push a simple style change to this PR, ensure the tests fail, and then back that change out.
|
Smart! With backing out you mean just a tmp commit like here now right? |
|
looks good :) |
beckermr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow doesn't appear to upload results images in the upload step. I assume we'd want this?
See here: https://github.com/Ultraplot/ultraplot/actions/runs/13055908903/job/36426869444
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
|
We have to swallow the failure in the job step and then reraise it in GHA. I can look up how to do this as I have done it in the past. |
|
We need to continue on error for the test step (https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) and then exit 1 in a final step using the value of |
|
It is bit odd that we have to look at the "succesful" part of the test, but happy that we can test these baselines now 😄 |
beckermr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huzzah indeed! LGTM and thanks for the hard work here!

No description provided.