From af306c21194baed1bbdf2fbda240f0983fca0889 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 16 Mar 2024 15:24:18 +0100 Subject: [PATCH] Change dusk.yml --- .github/workflows/dusk.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dusk.yml b/.github/workflows/dusk.yml index f39b344..9248ab1 100644 --- a/.github/workflows/dusk.yml +++ b/.github/workflows/dusk.yml @@ -34,14 +34,12 @@ jobs: run: sudo chmod -R 755 vendor - name: Generate Application Key run: php artisan key:generate - - name: Upgrade Chrome Driver - run: sudo php artisan dusk:chrome-driver --detect - - name: Start Chrome Driver - run: sudo ./vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 & - - name: Run Laravel Server - run: php artisan serve --no-reload > /dev/null 2>&1 & - - name: Run Dusk Tests - run: sudo php artisan dusk + - name: Run dusk tests + run: | + sudo php artisan dusk:chrome-driver + sudo nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &' + sudo nohup bash -c 'php artisan serve > /dev/null 2>&1 &' + sudo php artisan dusk - name: Upload Screenshots if: failure() uses: actions/upload-artifact@v2