enable parallel testing
This commit is contained in:
parent
9119029419
commit
2b5d943116
2 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
||||||
"rector",
|
"rector",
|
||||||
"ecs --fix || ecs --fix"
|
"ecs --fix || ecs --fix"
|
||||||
],
|
],
|
||||||
"test": "pest"
|
"test": "pest --parallel"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/symfony": "*"
|
"symfony/symfony": "*"
|
||||||
|
|
|
@ -6,6 +6,8 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
||||||
|
|
||||||
if (method_exists(Dotenv::class, 'bootEnv')) {
|
if (method_exists(Dotenv::class, 'bootEnv')) {
|
||||||
(new Dotenv)->bootEnv(dirname(__DIR__) . '/.env');
|
(new Dotenv)->bootEnv(dirname(__DIR__) . '/.env');
|
||||||
|
$token = $_SERVER['TEST_TOKEN'] ?? '';
|
||||||
|
$_ENV['DATABASE_URL'] .= $token;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_SERVER['APP_DEBUG']) {
|
if ($_SERVER['APP_DEBUG']) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue