-
Notifications
You must be signed in to change notification settings - Fork 55
38 lines (31 loc) · 889 Bytes
/
e2e.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
name: E2E Tests
on: [push, pull_request]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# No CSC Keys etc as PRs dont have access to this.
NODE_ENV: prod
jobs:
build:
name: E2E Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-20.04]
# os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install
run: yarn install --ignore-engines --network-timeout 800000;
- run: yarn package
- name: Run headless test
uses: GabrielBB/xvfb-action@v1.2
with:
run: yarn test-e2e-packed
# - uses: DevExpress/testcafe-action@latest
# with:
# args: 'electron:. ./__testcafe__/*.spec.*'