-
Notifications
You must be signed in to change notification settings - Fork 805
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
Removed testing polyfills that will be deprecated in next versions from Changelogger. #40162
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! Beta plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Debug Helper plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Backup plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Vaultpress plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Boost plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Search plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Social plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Starter Plugin plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Protect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Super Cache plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Inspect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Wpcomsh plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Automattic For agencies client plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Classic Theme helper plugin plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
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.
Coverage seems to be broken now.
@@ -17,6 +17,6 @@ | |||
* @covers \Automattic\Jetpack\Changelog\KeepAChangelogParser | |||
*/ | |||
class KeepAChangelogParserTest extends ParserTestCase { | |||
protected $className = KeepAChangelogParser::class; | |||
protected $fixtures = __DIR__ . '/fixtures/KeepAChangelogParserTest.*.md'; | |||
protected $className = KeepAChangelogParser::class; |
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.
It makes no real difference, but I'd be inclined to make this static too.
@@ -378,15 +377,15 @@ public function testGetRepoData() { | |||
); | |||
Utils::runCommand( array( 'git', 'init', '-b', 'main', '.' ), ...$args ); | |||
Utils::runCommand( array( 'git', 'add', 'in-git.txt' ), ...$args ); | |||
Utils::runCommand( array( 'git', 'commit', '-m', 'Commit (#123)' ), ...$args ); | |||
Utils::runCommand( array( 'git', 'commit', '--no-gpg-sign', '-m', 'Commit (#123)' ), ...$args ); |
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.
I'm guessing this is because your global git config is configured to sign. Probably we should instead figure out how to ignore the global config entirely.
Looks like setting GIT_CONFIG_GLOBAL=/dev/null
and GIT_CONFIG_NOSYSTEM=1
(above where we set other env vars) may do it.
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.
Let's do it
Proposed changes:
yoast/phpunit-polyfills
.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions: