Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run wp-env start before PHP unit tests in package scripts #23797

Merged
merged 11 commits into from
Aug 5, 2020

Conversation

noahtallen
Copy link
Member

@noahtallen noahtallen commented Jul 8, 2020

Description

If you had installed wp-env globally, the test-unit-php script would reference that instead of the local installation. Like many of our other package.json scripts, we need to reference the local source code. (I was wrong about this, package.json scripts will reference the local module by default without needing the npm run prefix)

Test unit php was working correctly in CI because it probably was able to resolve the local sourcecode since there was no global install to resolve first. (It was actually working correctly because wp-env start had been called before running tests.)

This caused some issues for folks running php unit tests locally, particularly if wp-env start was not running yet. This resolves #23642 since we are now running wp-env start before starting the unit tests.

Once wp-env is set up once, performance will be really fast as of #23809 (about 2 seconds), so this should be fine to add here.

How has this been tested?

Locally with wp-env. I ran npm run test-unit-php locally and it works correctly.

Screenshots

Types of changes

Bug fix.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

@noahtallen noahtallen added the [Type] Build Tooling Issues or PRs related to build tooling label Jul 8, 2020
@noahtallen noahtallen self-assigned this Jul 8, 2020
@github-actions
Copy link

github-actions bot commented Jul 8, 2020

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size Change
build/a11y/index.js 1.14 kB 0 B
build/annotations/index.js 3.67 kB 0 B
build/api-fetch/index.js 3.44 kB 0 B
build/autop/index.js 2.82 kB 0 B
build/blob/index.js 620 B 0 B
build/block-directory/index.js 7.97 kB 0 B
build/block-directory/style-rtl.css 953 B 0 B
build/block-directory/style.css 952 B 0 B
build/block-editor/index.js 125 kB 0 B
build/block-editor/style-rtl.css 10.8 kB 0 B
build/block-editor/style.css 10.8 kB 0 B
build/block-library/editor-rtl.css 7.59 kB 0 B
build/block-library/editor.css 7.59 kB 0 B
build/block-library/index.js 132 kB 0 B
build/block-library/style-rtl.css 7.76 kB 0 B
build/block-library/style.css 7.77 kB 0 B
build/block-library/theme-rtl.css 729 B 0 B
build/block-library/theme.css 730 B 0 B
build/block-serialization-default-parser/index.js 1.88 kB 0 B
build/block-serialization-spec-parser/index.js 3.1 kB 0 B
build/blocks/index.js 48.3 kB 0 B
build/components/index.js 200 kB 0 B
build/components/style-rtl.css 15.7 kB 0 B
build/components/style.css 15.7 kB 0 B
build/compose/index.js 9.68 kB 0 B
build/core-data/index.js 11.8 kB 0 B
build/data-controls/index.js 1.29 kB 0 B
build/data/index.js 8.45 kB 0 B
build/date/index.js 5.38 kB 0 B
build/deprecated/index.js 772 B 0 B
build/dom-ready/index.js 568 B 0 B
build/dom/index.js 3.23 kB 0 B
build/edit-navigation/index.js 10.9 kB 0 B
build/edit-navigation/style-rtl.css 1.08 kB 0 B
build/edit-navigation/style.css 1.08 kB 0 B
build/edit-post/index.js 304 kB 0 B
build/edit-post/style-rtl.css 5.61 kB 0 B
build/edit-post/style.css 5.61 kB 0 B
build/edit-site/index.js 17 kB 0 B
build/edit-site/style-rtl.css 3.06 kB 0 B
build/edit-site/style.css 3.06 kB 0 B
build/edit-widgets/index.js 9.38 kB 0 B
build/edit-widgets/style-rtl.css 2.45 kB 0 B
build/edit-widgets/style.css 2.45 kB 0 B
build/editor/editor-styles-rtl.css 537 B 0 B
build/editor/editor-styles.css 539 B 0 B
build/editor/index.js 45.3 kB 0 B
build/editor/style-rtl.css 3.8 kB 0 B
build/editor/style.css 3.79 kB 0 B
build/element/index.js 4.65 kB 0 B
build/escape-html/index.js 733 B 0 B
build/format-library/index.js 7.72 kB 0 B
build/format-library/style-rtl.css 547 B 0 B
build/format-library/style.css 548 B 0 B
build/hooks/index.js 2.13 kB 0 B
build/html-entities/index.js 621 B 0 B
build/i18n/index.js 3.56 kB 0 B
build/is-shallow-equal/index.js 711 B 0 B
build/keyboard-shortcuts/index.js 2.52 kB 0 B
build/keycodes/index.js 1.94 kB 0 B
build/list-reusable-blocks/index.js 3.11 kB 0 B
build/list-reusable-blocks/style-rtl.css 476 B 0 B
build/list-reusable-blocks/style.css 476 B 0 B
build/media-utils/index.js 5.33 kB 0 B
build/notices/index.js 1.79 kB 0 B
build/nux/index.js 3.4 kB 0 B
build/nux/style-rtl.css 671 B 0 B
build/nux/style.css 668 B 0 B
build/plugins/index.js 2.56 kB 0 B
build/primitives/index.js 1.41 kB 0 B
build/priority-queue/index.js 789 B 0 B
build/redux-routine/index.js 2.85 kB 0 B
build/rich-text/index.js 13.9 kB 0 B
build/server-side-render/index.js 2.71 kB 0 B
build/shortcode/index.js 1.7 kB 0 B
build/token-list/index.js 1.27 kB 0 B
build/url/index.js 4.06 kB 0 B
build/viewport/index.js 1.85 kB 0 B
build/warning/index.js 1.14 kB 0 B
build/wordcount/index.js 1.17 kB 0 B

compressed-size-action

docs/contributors/testing-overview.md Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@noahtallen
Copy link
Member Author

I don't think it makes sense to run wp-env start before each test-unit-php, because it adds some time to execution. We don't currently have a way to only run start if it is not already running (the current behavior of start is to stop and then start the instance again if it is already running. this way, new options are configured and taken into account)

@epiqueras
Copy link
Contributor

Let's make wp-env start only do stuff if the config has changed.

@noahtallen noahtallen force-pushed the fix/use-local-wp-env-for-php-test branch from d001e47 to f1ef953 Compare July 9, 2020 00:38
@noahtallen
Copy link
Member Author

@epiqueras done in #23809

Since wp-env start only takes 2 seconds to complete in most cases, I'll add it to the package script here.

@noahtallen noahtallen changed the title Use local wp-env sourcecode for test-unit-php script Run wp-env start before PHP unit tests in package scripts Jul 9, 2020
@noahtallen
Copy link
Member Author

✖ EACCES: permission denied, open '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'
[Error: EACCES: permission denied, open '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'
}

Getting that in the phpunit tests. Looks suspiciously like #20180 (comment)

package.json Outdated
Comment on lines 253 to 254
"test-unit-php": "wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'",
"test-unit-php-multisite": "wp-env start && wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit/multisite.xml --verbose'",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside, should we also add

Suggested change
"test-unit-php": "wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'",
"test-unit-php-multisite": "wp-env start && wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit/multisite.xml --verbose'",
"pretest-unit-php": "wp-env run composer install -- --no-interaction",
"test-unit-php": "wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'",
"pretest-unit-php-multisite": "wp-env run composer install -- --no-interaction",
"test-unit-php-multisite": "wp-env start && wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit/multisite.xml --verbose'",

? I know that @Copons was running into that issue when first trying to npm run test-unit-php.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with this kind of things, but yes, I can confirm that npm run test-unit-php failed for me when spinning up the Docker images, and it was fixed (as suggested by @ockham) after running composter install.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with doing that is when you run test-php, then it's going to run composer install 3 times. May not be a huge issue, but it will add some additional overhead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 😕 Is there maybe some CLI option to make composer install smart enough to only install stuff if something has changed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will detect and not install anything if there are no changes, but it still has to check. I do think it regenerates the autoload files by default unless you pass --no-autoloader. It's fairly quick, but depends on how many dependencies there are.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True.. Could we just remove the lint check from test-php?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't end up executing composer install automatically, would it be worthwhile to add a note under ## PHP Testing in docs/contributors/testing-overview.md about running composer install before npm run test-unit-php?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep!

@ockham
Copy link
Contributor

ockham commented Jul 9, 2020

✖ EACCES: permission denied, open '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'
[Error: EACCES: permission denied, open '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/home/runner/wp-env/34897e1850d618b89954e510f52aa54b/tests-WordPress/phpunit-wp-config.php'
}

Getting that in the phpunit tests. Looks suspiciously like #20180 (comment)

Indeed. FWIW, on this branch, npm run test-unit-php is failing for me with:

> gutenberg@8.5.0 test-unit-php /home/me/src/gutenberg
> wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'

✖ Error while running docker-compose command.
Starting 6ac6b03bd54e5e922f0d180f6d7ff25d_mysql_1 ... done
Starting 6ac6b03bd54e5e922f0d180f6d7ff25d_wordpress_1 ... done
Error: Stylesheet is missing.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gutenberg@8.5.0 test-unit-php: `wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gutenberg@8.5.0 test-unit-php script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/me/.npm/_logs/2020-07-09T13_27_11_367Z-debug.log

@ockham
Copy link
Contributor

ockham commented Jul 9, 2020

To back up a little bit -- I'm quite skeptical that simply running wp-env start before running the unit tests has any potential to fix the issue at all. I'm constantly running wp-env start and can't count the times I've started it right before running wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose' -- to no avail.

@noahtallen
Copy link
Member Author

@ockham can you run that with the --debug flag?

That's really odd. It's definitely a Linux thing since it seems to be working for those of us with macOS 🤔

wp-env start is definitely required to run test-unit-php in general (so that WordPress is configured correctly), but it sounds like there might be further issues on linux.

@noahtallen
Copy link
Member Author

Though to be fair, GitHub CI is running Linux, and it has been working fine 🤔

@earnjam
Copy link
Contributor

earnjam commented Jul 9, 2020

@ockham Error: Stylesheet is missing. means that the currently active theme is broken. Have you modified the .wp-env.json config to mount a different theme?

@noahtallen noahtallen added the [Package] Env /packages/env label Jul 9, 2020
@noahtallen
Copy link
Member Author

Speaking of composer, it is a lot faster to run it locally from cwd than inside wp-env. 🤔 (like the difference between a few seconds and a few minutes)

Copy link
Contributor

@jeyip jeyip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> gutenberg@8.5.0 test-unit-php /Users/jeremyyip/Desktop/gutenberg
> wp-env start && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'

✔ WordPress started. (in 35s 51ms)
ℹ Starting 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose' on the phpunit container.

Starting 38d33493c96d64b36cf07d211e8bf769_mysql_1 ... done
Starting 38d33493c96d64b36cf07d211e8bf769_tests-wordpress_1 ... done

Fatal error: Uncaught Error: Class 'PHPMailer' not found in /var/www/html/wp-content/plugins/gutenberg/vendor/wp-phpunit/wp-phpunit/includes/mock-mailer.php:4
Stack trace:
#0 /var/www/html/wp-content/plugins/gutenberg/vendor/wp-phpunit/wp-phpunit/includes/bootstrap.php(87): require_once()
#1 /var/www/html/wp-content/plugins/gutenberg/phpunit/bootstrap.php(74): require('/var/www/html/w...')
#2 phar:///usr/local/bin/phpunit/phpunit/Util/FileLoader.php(57): include_once('/var/www/html/w...')
#3 phar:///usr/local/bin/phpunit/phpunit/Util/FileLoader.php(45): PHPUnit\Util\FileLoader::load('/var/www/html/w...')
#4 phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php(1058): PHPUnit\Util\FileLoader::checkAndLoad('/var/www/html/w...')
#5 phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php(863): PHPUnit\TextUI\Command->handleBootstrap('/var/www/html/w...')
#6 phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php(173): PHPUnit\TextUI\Command->handleArguments(Array)
#7 phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.p in /var/www/html/wp-content/plugins/gutenberg/vendor/wp-phpunit/wp-phpunit/includes/mock-mailer.php on line 4
✖ Command failed with exit code 255

I'm not sure if this is related to the PR (especially since it's mentioning PHPMailer), but I'm running into an exception when trying to test this branch locally.

I'm running into this exception locally on master. I'm going to spend some time debugging, but does anyone happen to have an idea of how to resolve the reference to PHPMailer?

@noahtallen
Copy link
Member Author

@jeyip that sounds suspiciously like the issue which caused this: #23171. if that's happening again, we'll see phpunit tests start failing on all other PRs too.

ideas:

  • re-run composer install
  • re-install wordpress environment (e.g. via wp-env destroy)

@jeyip
Copy link
Contributor

jeyip commented Jul 9, 2020

@jeyip that sounds suspiciously like the issue which caused this: #23171. if that's happening again, we'll see phpunit tests start failing on all other PRs too.

  • For reference, nuking both worked
  • Nuking just the wordpress environment or just the composer vendor directory did not work

I can confirm that executing the npm run test-unit-php command works successfully whether or not wp-env is started beforehand.

@earnjam
Copy link
Contributor

earnjam commented Jul 9, 2020

The tests work without the containers being currently running, but you have to have run npm run wp-env start at some point first in order for them to be provisioned.

If they are stopped, the phpunit command will still spin up what it needs to run the tests, but it won’t provision them correctly.

@noahtallen
Copy link
Member Author

you have to have run npm run wp-env start at some point first in order for them to be provisioned.

That makes sense to me. wp-env start is the only command which runs wp core install and wp config set

@jeyip
Copy link
Contributor

jeyip commented Jul 9, 2020

you have to have run npm run wp-env start at some point first in order for them to be provisioned.

That's a good callout. Thanks for clarifying 👍

@ockham
Copy link
Contributor

ockham commented Jul 14, 2020

I just tried npm run wp-env start on master, followed by npm run test-php. Turns out that actually runs unit tests, too! (With the obligatory error at the end, but hey, I'll take it.)

> gutenberg@8.5.1 test-php /home/me/src/gutenberg
> npm run lint-php && npm run test-unit-php


> gutenberg@8.5.1 prelint-php /home/me/src/gutenberg
> npm run wp-env run composer install -- --no-interaction


> gutenberg@8.5.1 wp-env /home/me/src/gutenberg
> packages/env/bin/wp-env "run" "composer" "install" "--no-interaction"

ℹ Starting 'install' on the composer container. 

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
✔ Ran `install` in 'composer'. (in 4s 580ms)

> gutenberg@8.5.1 lint-php /home/me/src/gutenberg
> npm run wp-env run composer run-script lint


> gutenberg@8.5.1 wp-env /home/me/src/gutenberg
> packages/env/bin/wp-env "run" "composer" "run-script" "lint"

ℹ Starting 'run-script lint' on the composer container. 

> phpcs --standard=phpcs.xml.dist
............................................................  60 / 127 (47%)
............................................................ 120 / 127 (94%)
.......                                                      127 / 127 (100%)


Time: 4.68 secs; Memory: 24MB

✔ Ran `run-script lint` in 'composer'. (in 8s 152ms)

> gutenberg@8.5.1 test-unit-php /home/me/src/gutenberg
> wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'

ℹ Starting 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose' on the phpunit container. 

Starting 6ac6b03bd54e5e922f0d180f6d7ff25d_mysql_1 ... done
Starting 6ac6b03bd54e5e922f0d180f6d7ff25d_tests-wordpress_1 ... done
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.3.16
Configuration: /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist

..................E............................................  63 / 132 ( 47%)
............................................................... 126 / 132 ( 95%)
......                                                          132 / 132 (100%)

Time: 3.25 seconds, Memory: 46.50 MB

There was 1 error:

1) Extend_Styles_Test::test_without_built_styles
rename(/var/www/html/wp-content/plugins/gutenberg/build/editor/editor-styles.css,/var/www/html/wp-content/plugins/gutenberg/build/editor/editor-styles.css.bak): Permission denied

/var/www/html/wp-content/plugins/gutenberg/phpunit/class-extend-styles-test.php:64
/var/www/html/wp-content/plugins/gutenberg/phpunit/class-extend-styles-test.php:78

ERRORS!
Tests: 132, Assertions: 2019, Errors: 1.
✖ Command failed with exit code 2
Command failed with exit code 2
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gutenberg@8.5.1 test-unit-php: `wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/gutenberg/phpunit.xml.dist --verbose'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gutenberg@8.5.1 test-unit-php script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/me/.npm/_logs/2020-07-14T11_36_09_138Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gutenberg@8.5.1 test-php: `npm run lint-php && npm run test-unit-php`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gutenberg@8.5.1 test-php script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/me/.npm/_logs/2020-07-14T11_36_09_151Z-debug.log

So I guess we can close this PR?

@noahtallen
Copy link
Member Author

So I guess we can close this PR?

Ha, well I'm not sure what the next steps are here. But ideally, I would like to make sure that:

  1. composer is installed
  2. environment is started

when running the phpunit tests. I think that introduces a lot of confusion (a lot of people end up asking how to get them working!)

So i'd still like to do that (and update the docs), but I'm not sure how to fix the permissions error that happens when running wp-env twice in CI....

BTW, the stylesheet error you see is still pretty weird. I also don't think it's wp-env's fault, though it could be. Maybe related to whichever theme is active on your site, or maybe one of the mapped themes is not compiled? (or maybe the mapped wordpress needs to be updated and recompiled?)

@noahtallen noahtallen force-pushed the fix/use-local-wp-env-for-php-test branch from a25b0b4 to 25cf84e Compare July 14, 2020 19:33
@noahtallen
Copy link
Member Author

Good ol' file permissions nightmare.

looks like I was able to fix it with a quick chmod 777

@noahtallen
Copy link
Member Author

I'm debating whether to put composer install as a pre-script thing. It's kinda like npm install. We don't automatically run that for people for tests and such because it takes so long to complete.

I'm noticing that composer install through wp-env takes upwards of 90 seconds locally even when nothing needs updated, which is way to much for running it a few extra times!

@noahtallen
Copy link
Member Author

noahtallen commented Jul 14, 2020

I think we can fix the composer install issue by mapping the cache to the volume properly

Cache didn't make a difference. Something about https://github.com/Dealerdirect/phpcodesniffer-composer-installer causes it to take a very long time to install

@noahtallen noahtallen force-pushed the fix/use-local-wp-env-for-php-test branch from 25cf84e to 444d684 Compare July 14, 2020 21:16
@noahtallen
Copy link
Member Author

cc @epiqueras @ockham I think we can move forward with what we have now and simply run wp-env start before test-unit-php/multisite. Several bits of documentation have also been updated.

Something is still wrong with the composer command, since it takes >80s to run in Docker but 2s outside of docker locally. I created an issue for that here: #23944, but I probably won't have time to look into it immediately.

@noahtallen
Copy link
Member Author

Could this good another look? :)

Copy link
Contributor

@jeyip jeyip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that npm run test-unit-php works ⭐ :

  • with cached environment configs from a previous wp-env start
  • without cached environment configs

@noahtallen noahtallen force-pushed the fix/use-local-wp-env-for-php-test branch from 911e635 to aa11386 Compare August 5, 2020 22:31
@noahtallen
Copy link
Member Author

Screen Shot 2020-08-05 at 4 14 28 PM

These changes work well in CI ^^

Also, this fixes a linux issue and improves docs, so I'll go ahead and merge :)

@noahtallen noahtallen merged commit 9bbfc36 into master Aug 5, 2020
@noahtallen noahtallen deleted the fix/use-local-wp-env-for-php-test branch August 5, 2020 23:16
@github-actions github-actions bot added this to the Gutenberg 8.8 milestone Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Env /packages/env [Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test-php execution fails (at least) on linux
6 participants