devops: collect artifacts from browser locations (#2913)

This commit is contained in:
Pavel Feldman 2020-07-10 16:15:00 -07:00 committed by GitHub
parent 21807bcd35
commit 982e5e3550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ jobs:
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
# Wrap `npm run` in a subshell to redirect STDERR to file.
# Enable core dumps in the subshell.
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run coverage 2>./${{ matrix.browser }}-linux-testrun.log"
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run coverage 2>./testrun.log"
env:
BROWSER: ${{ matrix.browser }}
DEBUG: "*,-pw:wrapped*"
@ -50,7 +50,7 @@ jobs:
if: failure()
with:
name: ${{ matrix.browser }}-linux-testrun.log
path: ${{ matrix.browser }}-linux-testrun.log
path: testrun.log
- uses: actions/upload-artifact@v1
if: failure()
with:
@ -189,7 +189,7 @@ jobs:
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
# Wrap `npm run` in a subshell to redirect STDERR to file.
# Enable core dumps in the subshell.
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run test 2>./channel-linux-testrun.log"
- run: xvfb-run --auto-servernum -- bash -c "ulimit -c unlimited && npm run test 2>./testrun.log"
env:
BROWSER: ${{ matrix.browser }}
DEBUG: "*,-pw:wrapped*"
@ -200,15 +200,15 @@ jobs:
- uses: actions/upload-artifact@v1
if: failure()
with:
name: channel-linux-output
path: test/output-channel
name: rpc-${{ matrix.browser }}-linux-output
path: test/output-${{ matrix.browser }}
- uses: actions/upload-artifact@v1
if: failure()
with:
name: channel-linux-testrun.log
path: channel-linux-testrun.log
name: rpc-${{ matrix.browser }}-linux-testrun.log
path: testrun.log
- uses: actions/upload-artifact@v1
if: failure()
with:
name: channel-linux-coredumps
name: rpc-${{ matrix.browser }}-linux-coredumps
path: coredumps