[wp-trac] [WordPress Trac] #60476: Upload test coverage report in human-readable HTML format

WordPress Trac noreply at wordpress.org
Thu Feb 8 18:16:29 UTC 2024


#60476: Upload test coverage report in human-readable HTML format
------------------------------+-----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The Test Coverage workflow currently generates a coverage report XML file
 using `--coverage-clover` and uploads that to Codecov for consumption and
 display.

 The coverage workflow only runs currently on every commit, but only some
 PRs scoped to specific related files being updated. There are some
 situations where a human-readable format, like HTML, would be very useful.

 As an example, I updated the workflow to produce HTML coverage reports for
 comparing the impact of the change in [57566].

 The HTML report could just be uploaded to the workflow as an artifact.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60476>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list