Skip to content

Commit 982e5e3

Browse files
authored
devops: collect artifacts from browser locations (#2913)
1 parent 21807bc commit 982e5e3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
3838
# Wrap `npm run` in a subshell to redirect STDERR to file.
3939
# Enable core dumps in the subshell.
40-
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run coverage 2>./${{ matrix.browser }}-linux-testrun.log"
40+
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run coverage 2>./testrun.log"
4141
env:
4242
BROWSER: ${{ matrix.browser }}
4343
DEBUG: "*,-pw:wrapped*"
@@ -50,7 +50,7 @@ jobs:
5050
if: failure()
5151
with:
5252
name: ${{ matrix.browser }}-linux-testrun.log
53-
path: ${{ matrix.browser }}-linux-testrun.log
53+
path: testrun.log
5454
- uses: actions/upload-artifact@v1
5555
if: failure()
5656
with:
@@ -189,7 +189,7 @@ jobs:
189189
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
190190
# Wrap `npm run` in a subshell to redirect STDERR to file.
191191
# Enable core dumps in the subshell.
192-
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run test 2>./channel-linux-testrun.log"
192+
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run test 2>./testrun.log"
193193
env:
194194
BROWSER: ${{ matrix.browser }}
195195
DEBUG: "*,-pw:wrapped*"
@@ -200,15 +200,15 @@ jobs:
200200
- uses: actions/upload-artifact@v1
201201
if: failure()
202202
with:
203-
name: channel-linux-output
204-
path: test/output-channel
203+
name: rpc-${{ matrix.browser }}-linux-output
204+
path: test/output-${{ matrix.browser }}
205205
- uses: actions/upload-artifact@v1
206206
if: failure()
207207
with:
208-
name: channel-linux-testrun.log
209-
path: channel-linux-testrun.log
208+
name: rpc-${{ matrix.browser }}-linux-testrun.log
209+
path: testrun.log
210210
- uses: actions/upload-artifact@v1
211211
if: failure()
212212
with:
213-
name: channel-linux-coredumps
213+
name: rpc-${{ matrix.browser }}-linux-coredumps
214214
path: coredumps

0 commit comments

Comments
 (0)