[wp-trac] [WordPress Trac] #51734: Run core unit tests from src again, again

WordPress Trac noreply at wordpress.org
Fri Mar 12 07:07:13 UTC 2021


#51734: Run core unit tests from src again, again
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  johnbillion
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.7
Component:  Build/Test Tools                     |     Version:  5.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:
  major commit dev-reviewed                      |
-------------------------------------------------+-------------------------
Changes (by jrf):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 So... this broke the code coverage reporting as it seems it was forgotten
 to update the code coverage configuration in the `phpunit.xml.dist` file.

 Last commit on which code coverage was run is commit [50436]
 See: https://app.codecov.io/gh/WordPress/wordpress-develop/

 It can also been seen in the GH Actions code coverage runs which report:

 {{{
 ==> Reading reports
     - file not found at wp-code-coverage-single-clover-
 cded2eb52aa71a398d1d0cd87f8674b383512c0b.xml
 --> No coverage data found.
 }}}


 I'll upload the patch which should fix this in a moment and which
 basically reverts [48847].
 Note: this patch will also need to be backported.

 I'll also upload a second patch (optional) which would allow for manually
 triggering code coverage runs. Committing that patch would allow us, in
 the future, to test that specific build changes do not break the code
 coverage build by manually triggering a build on a branch/PR.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51734#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list