Opened 5 weeks ago
Last modified 10 days ago
#63167 new task (blessed)
Test tool and unit test improvements for 6.9
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
- #62280 (6.9)
- #61530 (6.7)
- #60705 (6.6)
- #59647 (6.5)
- #58955 (6.4)
- #57841 (6.3)
- #56793 (6.2)
- #55652 (6.1)
- #54725 (6.0)
- #53363 (5.9)
- #52625 (5.8)
- #51802 (5.7)
- #51344 (5.6)
This ticket is for various fixes and improvements in PHPUnit tests that don't have a more specific ticket, as well as general improvements to the GitHub Actions workflows that run automated testing.
Change History (5)
This ticket was mentioned in PR #8701 on WordPress/wordpress-develop by @desrosj.
11 days ago
#4
- Keywords has-patch added
There are a few errors happening when running npm run env:start
:
The repository at "/var/www" does not have the correct ownership and git refuses to use it: fatal: detected dubious ownership in repository at '/var/www' To add an exception for this directory, call: git config --global --add safe.directory /var/www Composer could not detect the root package (wordpress/wordpress) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
It appears that adding a version
to the composer.json
file fixes both of these errors.
Trac ticket: https://core.trac.wordpress.org/ticket/63167
#5
@
10 days ago
@desrosj
I would like to add for consideration these two tickets
https://core.trac.wordpress.org/ticket/63135
https://core.trac.wordpress.org/ticket/63172
Adding FTP and Mail support to Docker image.
For mail, Mailhog is pretty obvious.
For ftp, vsftpd for simplicity and speed
It's a little pain to test in env, without so basic tooling. Other virtualization like Chassis seem to have some plugins for all these but with docker we can control this with the start script.
In 60100: