[wp-trac] [WordPress Trac] #52561: Only run and upload one test run to Codecov

WordPress Trac noreply at wordpress.org
Wed Feb 17 18:25:50 UTC 2021


#52561: Only run and upload one test run to Codecov
------------------------------+-----------------------------
 Reporter:  johnbillion       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+-----------------------------
 In the `Code Coverage Report` workflow, the test suite is run once for
 single site and once for Multisite and both results are uploaded to
 Codecov. It appears that Codecov only provides graphs for one upload from
 each commit, and it appears that the most recent is used, which means only
 the Multisite report is used as it runs second. Example:
 https://codecov.io/gh/WordPress/wordpress-
 develop/tree/f400eb5ab9e80f62939bd8630e27e08ee0619ba1/src

 This means the single site test run in this workflow is useless.

 Let's remove either the single site test run or the Multisite test run to
 avoid CPU and speed up this workflow.

 My opinion is we should stick with the Multisite test run so we have
 coverage reports for Multisite files too.

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


More information about the wp-trac mailing list