-
-
Notifications
You must be signed in to change notification settings - Fork 126
41 lines (37 loc) · 1.12 KB
/
playwright-chromium-integ.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Chromium run integration tests suite with Playwright
on:
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Build phoenix
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright integration tests in Chromium Attempt 1
id: attemptC1
timeout-minutes: 30
continue-on-error: true
run: npm run testIntegChromium
- name: Run Playwright integration tests in Chromium Attempt 2
id: attemptC2
if: steps.attemptC1.outcome == 'failure'
timeout-minutes: 30
continue-on-error: true
run: npm run testIntegChromium
- name: Run Playwright integration tests in Chromium Attempt 3
id: attemptC3
if: steps.attemptC2.outcome == 'failure'
run: npm run testIntegChromium
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30