-
Notifications
You must be signed in to change notification settings - Fork 29
40 lines (34 loc) · 975 Bytes
/
playwright.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
name: Playwright Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build marina extension
run: yarn build:v3
- name: Install Nigiri
uses: vulpemventures/nigiri-github-action@v1
- name: Enable websocat
run: docker run --net=host solsson/websocat -b ws-l:127.0.0.1:1234 tcp:127.0.0.1:50001&
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: xvfb-run npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30