[wp-trac] [WordPress Trac] #35557: grunt precommit should run phpunit tests

WordPress Trac noreply at wordpress.org
Wed Mar 9 20:54:13 UTC 2016

#35557: grunt precommit should run phpunit tests
 Reporter:  ericlewis         |       Owner:  jorbin
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
Changes (by jorbin):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"36906"]:
 #!CommitTicketReference repository="" revision="36906"
 Improve grunt precommit task

 Instead of running all tasks, all the time, let's run tasks based on the
 files changed. PHPUNIT is now a precommit task for all php file changes.

 This adds a new dependency. Please run `npm install`.

 Fixes #35557
 Props  ericlewis, netweb, jorbin

Ticket URL: <https://core.trac.wordpress.org/ticket/35557#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list