[wp-trac] [WordPress Trac] #54470: Add support to read WP_TESTS_PHPUNIT_POLYFILLS_PATH from environment variables
WordPress Trac
noreply at wordpress.org
Thu Nov 18 22:54:45 UTC 2021
#54470: Add support to read WP_TESTS_PHPUNIT_POLYFILLS_PATH from environment
variables
------------------------------+-----------------------------
Reporter: shivammathur | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
I would like to add support to read the `WP_TESTS_PHPUNIT_POLYFILLS_PATH`
from an environment variable.
Currently one has to define the `WP_TESTS_PHPUNIT_POLYFILLS_PATH` as a PHP
constant. In a CI setup like GitHub Actions, this can be done only once
the WordPress test suite has been installed.
Adding support for reading this from an environment variable would allow
setup-php GitHub Action to set this variable as it is mostly run before
the WordPress test suite is installed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54470>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list