mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
use the already installed chromedriver (#16341)
This commit is contained in:
parent
32993a37d9
commit
58ccccce29
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -133,10 +133,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
php lnms dev:simulate --setup-venv
|
php lnms dev:simulate --setup-venv
|
||||||
-
|
-
|
||||||
name: Artisan dusk:chrome-driver
|
name: Start ChromeDriver
|
||||||
if: matrix.skip-web-check != '1'
|
if: matrix.skip-web-check != '1'
|
||||||
run: |
|
run: |
|
||||||
php artisan dusk:chrome-driver --detect
|
$CHROMEWEBDRIVER/chromedriver --port=9515 &
|
||||||
-
|
-
|
||||||
name: Copy seeded config
|
name: Copy seeded config
|
||||||
run: cp "${GITHUB_WORKSPACE}/tests/testing_config.yaml" "${GITHUB_WORKSPACE}/database/seeders/config/"
|
run: cp "${GITHUB_WORKSPACE}/tests/testing_config.yaml" "${GITHUB_WORKSPACE}/database/seeders/config/"
|
||||||
|
@ -20,7 +20,7 @@ abstract class DuskTestCase extends BaseTestCase
|
|||||||
*/
|
*/
|
||||||
public static function prepare()
|
public static function prepare()
|
||||||
{
|
{
|
||||||
if (! static::runningInSail()) {
|
if (! static::runningInSail() && ! getenv('GITHUB_ACTIONS')) {
|
||||||
static::startChromeDriver();
|
static::startChromeDriver();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user