-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unit Tests: Run under PHP 8.1, same as production #1457
Open
dd32
wants to merge
28
commits into
production
Choose a base branch
from
tests/unit-tests-php81
base: production
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+140
−35
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e5b60e2
Unit Tests: Run under PHP 8.1, same as production
dd32 ce42be7
Unit Tests: Re-run tests on changes to the workflow itself in a PR.
dd32 64cb7fa
Feature Flags: Fix flags when running in tests
dd32 3129cf5
DEBUG: Where are composer things installed to?
dd32 9ba6a0f
DEBUG: why is tmp existing..
dd32 427322f
Unit Tests: Always install composer dependencies fresh, not locked.
dd32 60398e0
Composer: Make the pub-sync folder if needed.
dd32 c575700
Unit Tests: Run with Composer v2
dd32 e674acc
Unit Test bootstrap: The wporg-mu-plugins are now available here.
dd32 7b064ba
DEBUG: remove it.
dd32 68dbc57
Unit Tests: Composer: Try specifying the Github token for composer use.
dd32 13d820f
Composer: Specify the token for the correct step
dd32 295fcdc
Composer: This was correct afterall.
dd32 56b56ad
Actions: Update action versions.
dd32 ddbf764
Actions: Update action versions.
dd32 b658f36
Tests: Don't need a mysqli custom db anymore
dd32 211834f
Tests: Extend the Database_Testcase.
dd32 a24586f
Composer: Temporarily run an older Jetpack version that's supported b…
dd32 6aa924f
Linter: Ignore composer.lock.
dd32 6f165d2
Linter: Run with PHP 8.1 w/ Composer set to the correct token.
dd32 9689402
None of this should run in the CLI mode..
dd32 b943f19
Test Bootstrap: Allow for Database_TestCase to create a specific netw…
dd32 4edeb69
Add extra domain to the expected test.
dd32 2f385f3
Organizer reminder tests: Use the production-like database setup.
dd32 f373c01
lint
dd32 55d154b
Move blog_id munging to the base class.
dd32 a815b2c
lint
dd32 ed33630
Try moving everything to DB testcases, not great for performance, but…
dd32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is obviously a big TODO; to replace the Jetpack CSS sanitization dependency with our own bundled here.
This is needed, and was one of the reasons for this PR in the first places.
This change should be reverted from the PR really.