enable parallel testing #79

Merged
lubiana merged 1 commit from enable-pest-parallel into main 2025-02-02 20:03:46 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 2b5d943116 - Show all commits

View file

@ -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": "*"

View file

@ -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']) {