[wp-trac] [WordPress Trac] #50401: Tests: Move tests into Github Actions

WordPress Trac noreply at wordpress.org
Wed Dec 9 17:40:13 UTC 2020


#50401: Tests: Move tests into Github Actions
------------------------------+--------------------------
 Reporter:  whyisjake         |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  5.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  performance
------------------------------+--------------------------

Comment (by desrosj):

 After giving this more thought, I'm thinking we should proceed by
 disabling all workflow runs on forks, except those triggered by pull
 requests. This would only result in the workflows running on the fork if
 someone opens a pull request to the fork. I sometimes use this workflow to
 test a PR before submitting it to the official mirror.

 Committing directly to a branch of a wordpress-develop fork is not really
 the best way to go about maintaining a fork for development purposes
 anyway, unless you truly intend to steer away from the WordPress codebase.
 In that case, merging updates to the workflow files from the mirror
 upstream is the least of your problems, as you'll likely experience merge
 conflicts throughout the branch.

 This solves the issue where private mirrors run too many workflows from
 push events, and still allows collaboration within those private repos.

 I've updated https://github.com/WordPress/wordpress-develop/pull/762 with
 this approach.

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


More information about the wp-trac mailing list