[wp-trac] [WordPress Trac] #51734: Run core unit tests from src again, again
WordPress Trac
noreply at wordpress.org
Fri Mar 26 13:24:08 UTC 2021
#51734: Run core unit tests from src again, again
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
| johnbillion
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.7
Component: Build/Test Tools | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed- | Focuses:
major commit dev-reviewed |
-------------------------------------------------+-------------------------
Comment (by desrosj):
In [changeset:"50592" 50592]:
{{{
#!CommitTicketReference repository="" revision="50592"
Build/Test Tools: Fix code coverage reporting to generate report from
`src`.
Since [50441-50442] switched the test workflows to run from `src` instead
of `build`, code coverage reporting has stopped working. This was caused
by the code coverage configuration continuing to reference `build`. This
corrects the configuration so coverage reporting can resume.
This change also introduces the `workflow_dispatch` event to the workflow,
which will allow committers to manually run the workflow when desired. For
example, to confirm changes to the test suite do not break reporting.
This also adds the `phpunit.xml.dist` and `tests/phpunit/multisite.xml`
files to the `paths` list. Since these files are responsible for
configuring the test suite and code coverage reporting, any changes to
them should verify that no problems were introduced.
Props jrf, johnbillion.
Fixes #52786. See #51734.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51734#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list