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

Add GitHub workflows for running tests #199

Open
GaryJones opened this issue Nov 19, 2022 · 0 comments
Open

Add GitHub workflows for running tests #199

GaryJones opened this issue Nov 19, 2022 · 0 comments

Comments

@GaryJones
Copy link
Collaborator

Because the package is still using only PHPUnit 7, I had to downgrade my local PHP version to PHP 7.4 just to get composer install to work.

I'd like to see this package using PHPUnit 9 (with the Yoast PHPUnit Polyfills package if still supporting PHP <= 7.2 which requires compatibility with PHPUnit 8 - see #198).

Only supporting PHPUnit 9 means we'd want a way to be able to run unit and integration tests on earlier versions of PHP and WP, so setting up a GitHub Workflow (example for unit tests and example for integration tests) would be beneficial.

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