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 E2E tests for Minumum Plugin Requirements #936

Merged
merged 12 commits into from
Sep 4, 2022

Conversation

peterwilsoncc
Copy link
Collaborator

@peterwilsoncc peterwilsoncc commented Sep 1, 2022

Description of the Change

Adds the PHP version to the E2E test matrix:

  • introduces test for WordPress 5.7 (min requirement) / PHP 7.4 (min requirement)
  • introduces a test for WordPress stable / PHP 8.1 (max supported)
  • renames WP latest to WP stable for clarity but I am not sure about this
  • modifies tests/bin/set-core-version.js so the override file is always written now there are multiple arguments
  • adds an the override file to git ignore to avoid mistakes while testing
  • logs the WP and PHP versions prior to running the e2e tests

Closes #440

How to test the Change

Review E2E tests section of GitHub actions for this pull request.

Changelog Entry

Added - E2E tests for minimum requirements.

Credits

Props @peterwilsoncc, @jeffpaul, @faisal-alvi

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@peterwilsoncc peterwilsoncc force-pushed the add/440-e2e-min-requirements branch from 39d14e4 to 8983ebf Compare September 1, 2022 05:46
@peterwilsoncc peterwilsoncc force-pushed the add/440-e2e-min-requirements branch from 6cfdfbf to f63e3e3 Compare September 2, 2022 00:21
@peterwilsoncc peterwilsoncc force-pushed the add/440-e2e-min-requirements branch from f63e3e3 to 6c22785 Compare September 2, 2022 00:44
@peterwilsoncc peterwilsoncc force-pushed the add/440-e2e-min-requirements branch from 8655475 to ca87104 Compare September 2, 2022 01:21
@peterwilsoncc peterwilsoncc marked this pull request as ready for review September 2, 2022 01:27
@peterwilsoncc peterwilsoncc requested review from a team, dinhtungdu and faisal-alvi and removed request for a team and dinhtungdu September 2, 2022 01:35
Copy link
Member

@faisal-alvi faisal-alvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peterwilsoncc this is so clean! thanks for the PR. ❤️
Re-ran the workflow and confirmed tests are working fine + passing.

image

@jeffpaul jeffpaul added this to the 2.0.0 milestone Sep 2, 2022
@peterwilsoncc peterwilsoncc merged commit 668fa5a into develop Sep 4, 2022
@peterwilsoncc peterwilsoncc deleted the add/440-e2e-min-requirements branch September 4, 2022 22:17
peterwilsoncc added a commit that referenced this pull request Dec 13, 2022
Add E2E tests for Minumum Plugin Requirements
# Conflicts:
#	.github/workflows/cypress.yml
#	tests/bin/set-core-version.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add WP Acceptance tests for PHP 5.6 and WordPress 4.7
3 participants