Skip to content

Commit

Permalink
cli: Rewrite test command (#40175)
Browse files Browse the repository at this point in the history
Bring in a few new features:

* Ability to specify multiple projects to test, which will be run in
  parallel if `--verbose` is not used.
* Correct handling of tests that use `ARTIFACTS_DIR`.
* Correct handling of coverage tests, without having to manually set
  `COVERAGE_DIR`.
* Coverage tests now generate an HTML report by default.

Unfortunately, there are some breaking changes here:

* The order of the "test" and "project" arguments has changed.
* By default the output from PHPUnit or jest will no longer be shown.
  Run with `--verbose` if you want to see it.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11845458158

Upstream-Ref: Automattic/jetpack@b8f11c6
  • Loading branch information
anomiex authored and matticbot committed Nov 14, 2024
1 parent 8d46fd2 commit 43e93b8
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 85 deletions.
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43e93b8

Please sign in to comment.