From da3ddb07c018202c045daeef42439da714285cb2 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 6 Apr 2021 01:15:06 -0500 Subject: [PATCH] devops: start uploading test reports from chrome stable runs (#6092) --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a3c09982a7..00d7a0dc85 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -276,6 +276,8 @@ jobs: - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npm run test -- chromium --reporter=dot,json" env: PW_CHROMIUM_CHANNEL: "chrome" + - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json + if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')) - uses: actions/upload-artifact@v1 if: ${{ always() }} with: @@ -303,6 +305,9 @@ jobs: shell: bash env: PW_CHROMIUM_CHANNEL: "chrome" + - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json + if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')) + shell: bash - uses: actions/upload-artifact@v1 if: ${{ always() }} with: @@ -326,6 +331,8 @@ jobs: - run: npm run test -- chromium --reporter=dot,json env: PW_CHROMIUM_CHANNEL: "chrome" + - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json + if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')) - uses: actions/upload-artifact@v1 if: ${{ always() }} with: