-
Notifications
You must be signed in to change notification settings - Fork 0
81 lines (63 loc) · 1.72 KB
/
functional-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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: Functional tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CI: true
jobs:
install:
name: Install dependencies
uses: ./.github/workflows/functional-tests-install.yml
electron-latest:
name: Test electron@latest
runs-on: ubuntu-latest
needs: install
steps:
- name: Download install artifact
uses: actions/download-artifact@v4
with:
name: install
- name: Untar files
run: tar -xf install.tar
- name: Run tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional
electron-30:
name: Test electron@30
runs-on: ubuntu-latest
needs: install
steps:
- name: Download install artifact
uses: actions/download-artifact@v4
with:
name: install
- name: Untar files
run: tar -xf install.tar
- name: Install electron@30
run: npm install electron@30
- name: Run tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional
electron-29:
name: Test electron@29
runs-on: ubuntu-latest
needs: install
steps:
- name: Download install artifact
uses: actions/download-artifact@v4
with:
name: install
- name: Untar files
run: tar -xf install.tar
- name: Install electron@29
run: npm install electron@29
- name: Run tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional
clear:
name: Clear artifacts
runs-on: ubuntu-latest
needs: [electron-latest, electron-30, electron-29]
steps:
- uses: geekyeggo/delete-artifact@v5
with:
name: install