Make WordPress Core

Opened 8 years ago

Closed 17 months ago

#36190 closed defect (bug) (wontfix)

Support running grunt phpunit tasks inside Vagrant environments

Reported by: netweb's profile netweb Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch close
Focuses: Cc:


Via @ocean90 in ticket:35557#comment:22

It would be awesome if the phpunit task would run in Vagrant, see :-)

Currently if your not SSH'd inside the Vagrant environment and working on files locally on the operating system side (not inside the virtual machine) then the grunt phpunit tasks will fail.

We should use something similar to the xwp/wp-dev-lib code linked above so that if a Vagrant environment is detected then the grunt phpunit and default, ajax, multisite, and external-http sub tasks and configurations will be passed through via SSH to inside the Vagrant environment.

Change History (2)

#1 @desrosj
4 years ago

  • Keywords close added

With the introduction of the local Docker environment (which is included in trunk and does not require using an external tool), I'm of the opinion that we should instead switch this to run within the Docker container.

Adding a close suggestion. Happy to open a new ticket for exploring that route instead.

#2 @JeffPaul
17 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

While I like having multiple tools supported here, I agree that the primary focus from core should like be the local Docker env and that closing this seems reasonable.

Note: See TracTickets for help on using tickets.