Skip to content

Commit

Permalink
try using playwright container to speedup browser setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Vostrak authored and Gregor Vostrak committed Jan 23, 2024
1 parent 11b2ecc commit 46fed78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.41.1-jammy
services:
mailpit:
image: 'axllent/mailpit:latest'
Expand Down Expand Up @@ -46,9 +48,6 @@ jobs:
- name: Run Laravel Server
run: php artisan serve > /dev/null 2>&1 &

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test
env:
Expand Down

0 comments on commit 46fed78

Please sign in to comment.