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

Attempt to get CI working again #240

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Mar 31, 2025

This PR is my (in progress) attempt to get CI up and running again. I don't have time to work on this further, so someone else should feel free to take this and run with it.

I noticed that with Matplotlib 3.10 hashes seem to vary based on operating system.

@ConorMacBride
Copy link
Member

Hi @dstansby, thanks for your work on this. I was thinking earlier that we could remove most of the hardcoded hashes in the tests by generating them during the test run: 1) run code to generate hashes 2) modify/break some hashes 3) test that pytest-mpl passes and fails correctly when rerun. It removes the flakiness, but does mean that we only test that matplotlib can produce identical hashes over repeated runs and not necessarily over different matplotlib or OS versions. What do you think? Here's my PR: #234

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.

2 participants