25
25
sudo apt-get update
26
26
sudo apt-get install libgbm-dev xvfb
27
27
- run : npm install
28
- - run : xvfb-run --auto-servernum npm run ccoverage
28
+ # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
29
+ # Wrap `npm run` in a subshell to redirect STDERR to file.
30
+ - run : xvfb-run --auto-servernum -- bash -c "npm run ccoverage 2>./chromium-linux-testrun.log"
31
+ env :
32
+ DEBUG : " *"
33
+ - uses : actions/upload-artifact@v1
34
+ if : failure()
35
+ with :
36
+ name : chromium-linux-testrun.log
37
+ path : chromium-linux-testrun.log
29
38
30
39
chromium_mac :
31
40
name : " Chromium Mac"
36
45
with :
37
46
node-version : 10.15
38
47
- run : npm install
39
- - run : npm run ctest
48
+ - run : npm run ctest 2>./chromium-mac-testrun.log
49
+ env :
50
+ DEBUG : " *"
51
+ - uses : actions/upload-artifact@v1
52
+ if : failure()
53
+ with :
54
+ name : chromium-mac-testrun.log
55
+ path : chromium-mac-testrun.log
40
56
41
57
chromium_win :
42
58
name : " Chromium Win"
47
63
with :
48
64
node-version : 10.15
49
65
- run : npm install
50
- - run : npm run ctest
66
+ - run : npm run ctest 2>./chromium-win-testrun.log
67
+ shell : bash
68
+ env :
69
+ DEBUG : " *"
70
+ - uses : actions/upload-artifact@v1
71
+ if : failure()
72
+ with :
73
+ name : chromium-win-testrun.log
74
+ path : chromium-win-testrun.log
51
75
52
76
webkit_linux :
53
77
name : " WebKit Linux"
63
87
sudo apt-get install libwoff1 libopus0 libwebp6 libwebpdemux2 libenchant1c2a libgudev-1.0-0 libsecret-1-0 libhyphen0 libgdk-pixbuf2.0-0 libegl1 libgles2 libevent-2.1-6 libnotify4 libxslt1.1
64
88
sudo apt-get install xvfb
65
89
- run : npm install
66
- - run : xvfb-run --auto-servernum npm run wcoverage
90
+ # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
91
+ # Wrap `npm run` in a subshell to redirect STDERR to file.
92
+ - run : xvfb-run --auto-servernum -- bash -c "npm run wcoverage 2>./webkit-linux-testrun.log"
93
+ env :
94
+ DEBUG : " *,-pw:wrapped*"
95
+ - uses : actions/upload-artifact@v1
96
+ if : failure()
97
+ with :
98
+ name : webkit-linux-testrun.log
99
+ path : webkit-linux-testrun.log
67
100
68
101
webkit_mac :
69
102
name : " WebKit Mac"
@@ -74,7 +107,14 @@ jobs:
74
107
with :
75
108
node-version : 10.15
76
109
- run : npm install
77
- - run : npm run wtest
110
+ - run : npm run wtest 2>./webkit-mac-testrun.log
111
+ env :
112
+ DEBUG : " *,-pw:wrapped*"
113
+ - uses : actions/upload-artifact@v1
114
+ if : failure()
115
+ with :
116
+ name : webkit-mac-testrun.log
117
+ path : webkit-mac-testrun.log
78
118
79
119
webkit_win :
80
120
name : " WebKit Win"
@@ -85,9 +125,15 @@ jobs:
85
125
with :
86
126
node-version : 10.15
87
127
- run : npm install
88
- - run : npm run wtest -- --verbose
128
+ - run : npm run wtest -- --verbose 2>./webkit-win-testrun.log
129
+ shell : bash
89
130
env :
90
- DEBUG : " *launch*"
131
+ DEBUG : " *,-pw:wrapped*"
132
+ - uses : actions/upload-artifact@v1
133
+ if : failure()
134
+ with :
135
+ name : webkit-win-testrun.log
136
+ path : webkit-win-testrun.log
91
137
92
138
firefox_linux :
93
139
name : " Firefox Linux"
@@ -102,7 +148,16 @@ jobs:
102
148
sudo apt-get update
103
149
sudo apt-get install xvfb
104
150
- run : npm install
105
- - run : xvfb-run --auto-servernum npm run fcoverage
151
+ # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
152
+ # Wrap `npm run` in a subshell to redirect STDERR to file.
153
+ - run : xvfb-run --auto-servernum -- bash -c "npm run fcoverage 2>./firefox-linux-testrun.log"
154
+ env :
155
+ DEBUG : " *"
156
+ - uses : actions/upload-artifact@v1
157
+ if : failure()
158
+ with :
159
+ name : firefox-linux-testrun.log
160
+ path : firefox-linux-testrun.log
106
161
107
162
firefox_mac :
108
163
name : " Firefox Mac"
@@ -113,7 +168,14 @@ jobs:
113
168
with :
114
169
node-version : 10.15
115
170
- run : npm install
116
- - run : npm run ftest
171
+ - run : npm run ftest 2>./firefox-mac-testrun.log
172
+ env :
173
+ DEBUG : " *"
174
+ - uses : actions/upload-artifact@v1
175
+ if : failure()
176
+ with :
177
+ name : firefox-mac-testrun.log
178
+ path : firefox-mac-testrun.log
117
179
118
180
firefox_win :
119
181
name : " Firefox Win"
@@ -124,4 +186,12 @@ jobs:
124
186
with :
125
187
node-version : 10.15
126
188
- run : npm install
127
- - run : npm run ftest
189
+ - run : npm run ftest 2>./firefox-win-testrun.log
190
+ shell : bash
191
+ env :
192
+ DEBUG : " *"
193
+ - uses : actions/upload-artifact@v1
194
+ if : failure()
195
+ with :
196
+ name : firefox-win-testrun.log
197
+ path : firefox-win-testrun.log
0 commit comments