[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Tue Jun 21 23:59:43 UTC 2022

#55652: Test tool and unit test improvements for 6.1
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by desrosj):

 In [changeset:"53553" 53553]:
 #!CommitTicketReference repository="" revision="53553"
 Build/Test Tools: Allow changes to the code coverage workflow to run on
 pull request.

 This adds the `pull_request` event to the Code Coverage Report workflow,
 allowing changes to be verified in a pull request before being committed.

 The `branches` and `paths` filters are used to limit when the workflow
 runs to pull requests with:

 - A base branch of `trunk`.
 - Changing specific files that can potentially affect the way a coverage
 report is generated.

 Reports generated on `pull_request` events are for testing purposes only
 and are not submitted to Codecov.

 The `docker-compose.yml` file has also been added to the `paths` filter
 for both `push` and `pull_request` events. Changes to this file could
 potentially affect the environment used to generate the report (such as
 the ones in [53552]).

 Props afragen, johnbillion, desrosj.
 See #55652.

Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list