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

Fix tests #10

Merged
merged 5 commits into from
Jan 8, 2024
Merged

Fix tests #10

merged 5 commits into from
Jan 8, 2024

Conversation

svenluijten
Copy link
Contributor

@svenluijten svenluijten commented Jan 7, 2024

This PR is a follow-up to #5. It:

  • Adds a .gitkeep file (and thereby the tests/resources/testcases directory) to make sure the directory exists for the tests.
  • Updates spatie/phpunit-snapshot-assertions to at least v5.1.1, which fixed a bug with PNG checking.
  • Stops testing on Windows. imagick couldn't be installed on Windows on both PHP 8.2 and 8.3.

@svenluijten svenluijten changed the title Add empty directory to fix tests Fix tests Jan 7, 2024
@simonhamp
Copy link
Owner

Does the fact that we're intentionally not testing on Windows mean that The OG doesn't work on windows?

@svenluijten
Copy link
Contributor Author

Kinda? I don't have a Windows machine to test it on, but the workflows couldn't even get imagick to install so the tests failed.

If it doesn't work on Windows it's likely a downstream dependency that's at fault (like intervention or imagick), not The Og itself.

@simonhamp simonhamp merged commit 43ad6f0 into simonhamp:main Jan 8, 2024
4 checks passed
@svenluijten svenluijten deleted the fix-tests branch January 8, 2024 12:53
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