use the already installed chromedriver (#16341)

This commit is contained in:
Jellyfrog 2024-09-02 16:36:41 +02:00 committed by GitHub
parent 32993a37d9
commit 58ccccce29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -133,10 +133,10 @@ jobs:
run: |
php lnms dev:simulate --setup-venv
-
name: Artisan dusk:chrome-driver
name: Start ChromeDriver
if: matrix.skip-web-check != '1'
run: |
php artisan dusk:chrome-driver --detect
$CHROMEWEBDRIVER/chromedriver --port=9515 &
-
name: Copy seeded config
run: cp "${GITHUB_WORKSPACE}/tests/testing_config.yaml" "${GITHUB_WORKSPACE}/database/seeders/config/"

View File

@ -20,7 +20,7 @@ abstract class DuskTestCase extends BaseTestCase
*/
public static function prepare()
{
if (! static::runningInSail()) {
if (! static::runningInSail() && ! getenv('GITHUB_ACTIONS')) {
static::startChromeDriver();
}
}