mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
Revert "Make the PHP test runner conifigurable"
This reverts commit 5f62b02d14
.
This commit is contained in:
parent
bc9b18268f
commit
b60cd7ae1b
|
@ -1,9 +1,6 @@
|
|||
drupal:
|
||||
docroot: web
|
||||
|
||||
php:
|
||||
test_runner: phpunit
|
||||
|
||||
experimental:
|
||||
runStaticAnalysisOnTests: false
|
||||
|
||||
|
|
|
@ -239,10 +239,6 @@ final class ConfigDto
|
|||
'phpunit' => new Assert\Optional(
|
||||
new Assert\IsFalse(),
|
||||
),
|
||||
|
||||
'test_runner' => new Assert\Optional(
|
||||
new Assert\Choice(['phpunit', 'pest', 'paratest']),
|
||||
),
|
||||
],
|
||||
)]
|
||||
public array $php;
|
||||
|
|
|
@ -111,9 +111,9 @@ function stop {
|
|||
docker compose down
|
||||
}
|
||||
|
||||
{% if not php.phpunit is same as false and not php.test_runner is same as false %}
|
||||
{% if not php.phpunit is same as false %}
|
||||
function test {
|
||||
_exec php {{ php.test_runner }} --colors=always "${@}"
|
||||
_exec php phpunit --colors=always "${@}"
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue