[wp-trac] [WordPress Trac] #50401: Tests: Move tests into Github Actions
WordPress Trac
noreply at wordpress.org
Tue Nov 17 16:42:04 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):
More on the secret/const idea:
* `WP_GHA_PR`, `WP_GHA_TRUNK`, `WP_GHA_BRANCHES` for pull requests,
trunk/master, and SVN branches (X.Y) respectively.
I remembered that you can disable individual workflows in the GitHub
Actions UI, but I think that does still require an initial run so you then
see it in the UI to be able to disable it, which may still be bad for
minutes. If we wanted it to be more of an opt-in route, then we could also
implement something like:
* `WP_TEST_ALL`, `WP_TEST_PHPUNIT`, `WP_TEST_PHPCS`, etc. for test
workflows, and decide whether the rest need code level disabling or if
they're okay to just disable in the UI.
Most people would then want to set `WP_GHA_PR` and `WP_TEST_ALL` on their
forks. Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50401#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list