[wp-trac] [WordPress Trac] #53945: Local test workflow changes for installing Composer dependencies

WordPress Trac noreply at wordpress.org
Wed Sep 1 15:29:21 UTC 2021


#53945: Local test workflow changes for installing Composer dependencies
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:
                                                 |  johnbillion
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-instructions   |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 What if the installer is removed from `install.js`? Instead of installing
 the dependencies during the npm installation process, install them
 ''when'' they are needed, i.e. when running the automated tests `npm run
 test` and/or running phpcs.

 Why?

 Yesterday when setting up an environment for manually testing a patch, I
 noticed that the Composer dependencies were installed. For testers doing
 manual testing, this extra step is adds more set up time and is
 unnecessary.

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


More information about the wp-trac mailing list