-
Notifications
You must be signed in to change notification settings - Fork 808
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
Code Coverage: remove automation #28542
Conversation
Marking as |
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. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. |
Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run |
PR #28542 removed the calls to the coverage scripts (except for one line), but didn't update the documentation, remove the scripts themselves, or adjust `jetpack generate` to stop generating those scripts. This does all that.
PR #28542 removed the calls to the coverage scripts (except for one line), but didn't update the documentation, remove the scripts themselves, or adjust `jetpack generate` to stop generating those scripts. This does all that. It does not remove the PHPUnit or Jest definitions of which files should be looked at for coverage, or any `@codeCoverageIgnore` directives, or the `test-coverage-html` script in packages/waf, as those may still be useful for people manually looking at coverage locally.
PR #28542 removed the calls to the coverage scripts (except for one line), but didn't update the documentation, remove the scripts themselves, or adjust `jetpack generate` to stop generating those scripts. This does all that. It does not remove the PHPUnit or Jest definitions of which files should be looked at for coverage, or any `@codeCoverageIgnore` directives, or the `test-coverage-html` script in packages/waf, as those may still be useful for people manually looking at coverage locally.
* Enable and normalize test coverage commands * Revert "Code Coverage: remove automation (#28542)" This reverts commit da5e788. * Revert "Remove remnants of automated code coverage support (#28982)" This reverts commit 8cc3246. * Fix starter plugin test broken by #31417 * Plugin tests are now run in the monorepo rather than wp-content/plugins. * Removed undocumented WP_DEVELOP_DIR variable, documented WORDPRESS_DEVELOP_DIR and WORDPRESS_DIR * Fixed JS tests in some packages where .scripts.test-js had never been added to composer.json. --------- Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
We haven't used the code coverage tests in a long while (ever?), so let's remove it to save us some red Xs.
Proposed changes:
Other information:
Jetpack product discussion
n/a
Does this pull request change what data or activity we track or use?
No.
Testing instructions: