-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 977 Bytes
/
tests.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
42
43
44
name: tests
env:
FORCE_COLOR: 1
on:
push:
pull_request:
branches:
- stage
- master
jobs:
test_linux:
name: ${{ matrix.os }} (${{ matrix.browser }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: microsoft/playwright-github-action@v1
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
# test_win:
# name: "Windows"
# strategy:
# fail-fast: false
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 14
# - uses: microsoft/playwright-github-action@v1
# - name: Install dependencies
# run: npm ci
# - name: Run tests
# run: npm test