Skip to content

Commit

Permalink
Change dusk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschucki committed Mar 16, 2024
1 parent 45c5aad commit af306c2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/dusk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af306c2

Please sign in to comment.