Skip to content

Commit

Permalink
add mailpit and parallelization
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Vostrak authored and Gregor Vostrak committed Jan 22, 2024
1 parent d7e48f1 commit 0ac9cae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
services:
mailpit:
image: 'axllent/mailpit:latest'

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -46,7 +50,7 @@ jobs:
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test
run: npx playwright test --workers 4
env:
PLAYWRIGHT_BASE_URL: '127.0.0.1:8000'

Expand All @@ -56,3 +60,4 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30

0 comments on commit 0ac9cae

Please sign in to comment.