From 982e5e35502b7898ec93047670205fe7c16f52c5 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Fri, 10 Jul 2020 16:15:00 -0700 Subject: [PATCH] devops: collect artifacts from browser locations (#2913) --- .github/workflows/tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d856992a7..003f761127 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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