@@ -2,7 +2,7 @@ name: "Test: UI E2E JS"
2
2
3
3
on :
4
4
schedule :
5
- - cron : " 20 04 * * *"
5
+ - cron : " 20 04 * * *"
6
6
push :
7
7
branches :
8
8
- master
12
12
workflow_call :
13
13
workflow_dispatch :
14
14
15
+ env :
16
+ TESTS_LOG_LEVEL : debug
17
+ # xvfb is slow to start
18
+ NODE_TEST_TIMEOUT : 90000
19
+ TRACE : 1
20
+
15
21
jobs :
16
22
17
23
test :
18
- timeout-minutes : 5
19
- runs-on : ubuntu-latest
20
- name : " Run UI E2E tests"
21
- env :
22
- # xvfb is slow to start
23
- NODE_TEST_TIMEOUT : 90000
24
+ strategy :
25
+ fail-fast : false
26
+ matrix :
27
+ include :
28
+ # - platform: 'macos-latest' # for Arm based macs (M1 and above).
29
+ # args: '--target aarch64-apple-darwin'
30
+ # - platform: 'macos-latest' # for Intel based macs.
31
+ # args: '--target x86_64-apple-darwin'
32
+ - platform : ' ubuntu-latest'
33
+ args : ' '
34
+ - platform : ' windows-latest'
35
+ args : ' '
24
36
37
+ timeout-minutes : 15
38
+ runs-on : ${{ matrix.platform }}
39
+ name : " Run UI E2E tests"
25
40
steps :
26
41
- name : Checkout
27
42
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
28
43
44
+ - name : Install Xming
45
+ shell : " bash"
46
+ if : matrix.platform == 'windows-latest'
47
+ run : |
48
+ choco install xming
49
+ "C:\Program Files (x86)\Xming\Xming.exe" :0 -clipboard -multiwindow
50
+ # run: |
51
+ # set -x
52
+ # curl -L -o xming.exe \
53
+ # https://kumisystems.dl.sourceforge.net/project/xming/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe?viasf=1
54
+ # ls -al
55
+ # ./xming.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
56
+
29
57
- name : Setup Just
30
58
uses : extractions/setup-just@6e1de3cc407de738551abd6c0923bd5ed5608042
31
59
with :
@@ -43,17 +71,26 @@ jobs:
43
71
toolchain : stable
44
72
override : true
45
73
46
- - name : Setup Rust Cache
47
- uses : Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
48
- with :
49
- cache-all-crates : true
50
- cache-targets : true
51
- cache-directories : |
52
- .build
53
74
54
- - name : Install Prerequisites
55
- run : |
56
- . <(just prerequisites)
75
+ # https://github.com/Swatinem/rust-cache/issues/169
76
+ # - name: Setup Rust Cache
77
+ # uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
78
+ # with:
79
+ # cache-all-crates: true
80
+ # cache-targets: true
81
+ # cache-directories: |
82
+ # .build
83
+
84
+ # - name: Install Prerequisites
85
+ # if: matrix.platform == 'ubuntu-latest'
86
+ # run: |
87
+ # . <(just prerequisites)
88
+ #
89
+ # - name: Run UI E2E tests Linux
90
+ # if: matrix.platform == 'ubuntu-latest'
91
+ # run: xvfb-run -a just test-e2e
57
92
58
- - name : Run UI E2E tests
59
- run : xvfb-run -a just test-e2e
93
+ - name : Run UI E2E tests Windows
94
+ shell : " bash"
95
+ if : matrix.platform == 'windows-latest'
96
+ run : just test-e2e
0 commit comments