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

WordPress Trac noreply at wordpress.org
Tue Nov 17 04:48:06 UTC 2020


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

Comment (by helen):

 Thinking about how to limit runs on private mirrors that eat up minutes, I
 see two options:

 * Using an `if: ${{ github.repository == 'WordPress/wordpress-develop' }}`
 conditional to bail on non-PR triggers
 * Checking for a secret like `WP_TEST_ALL_EVENTS` (or whatever name)
 before bailing or proceeding on non-PR triggers

 The latter seems easier to manage from a contributor perspective, so forks
 don't end up having to maintain a diverged version of all the workflow
 files if they want to run tests on all pushes to branches and instead
 "just" set the one secret. I don't know if maybe that looks a little
 strange though, or if we would want to have separate secrets and checks
 for branch pushes vs. scheduled cron. Also open to other possibilities my
 5.6-addled brain has not come up with :)

 Apart from that, I think we're probably okay to close out this ticket and
 open up new ones for issues that come up and for the actual turning off of
 Travis for core?

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


More information about the wp-trac mailing list