Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: start uploading test reports from chrome stable runs (#6092)

Andrey Lushnikovda3ddb07c018
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: