diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.yml index ec5789942c..31db8616a4 100644 --- a/.github/workflows/create_test_report.yml +++ b/.github/workflows/create_test_report.yml @@ -32,6 +32,8 @@ jobs: - name: Merge reports run: | npx playwright merge-reports --reporter markdown,html ./all-blob-reports + env: + NODE_OPTIONS: --max-old-space-size=4096 - name: Upload HTML report to Azure run: | diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index b3fd12a291..a3e1c9a187 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -275,6 +275,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chrome_stable_win: name: "Chrome Stable (Win)" @@ -297,6 +303,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chrome_stable_mac: name: "Chrome Stable (Mac)" @@ -318,6 +330,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chromium_tot: name: Chromium TOT ${{ matrix.os }} @@ -349,6 +367,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chromium_tot_headed: name: Chromium TOT headed ${{ matrix.os }} @@ -380,6 +404,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' firefox_beta_linux: name: "Firefox Beta (Linux)" @@ -401,6 +431,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' firefox_beta_win: name: "Firefox Beta (Win)" @@ -423,6 +459,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' firefox_beta_mac: name: "Firefox Beta (Mac)" @@ -444,6 +486,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_stable_mac: name: "Edge Stable (Mac)" @@ -465,6 +513,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_stable_win: name: "Edge Stable (Win)" @@ -487,6 +541,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_stable_linux: name: "Edge Stable (Linux)" @@ -508,6 +568,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_beta_mac: name: "Edge Beta (Mac)" @@ -529,6 +595,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_beta_win: name: "Edge Beta (Win)" @@ -551,6 +623,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_beta_linux: name: "Edge Beta (Linux)" @@ -572,6 +650,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_dev_mac: name: "Edge Dev (Mac)" @@ -593,6 +677,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_dev_win: name: "Edge Dev (Win)" @@ -615,6 +705,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' edge_dev_linux: name: "Edge Dev (Linux)" @@ -636,6 +732,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chrome_beta_linux: name: "Chrome Beta (Linux)" @@ -657,6 +759,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chrome_beta_win: name: "Chrome Beta (Win)" @@ -679,6 +787,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' chrome_beta_mac: name: "Chrome Beta (Mac)" @@ -700,6 +814,12 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}' build-playwright-driver: name: "build-playwright-driver" @@ -736,3 +856,9 @@ jobs: - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json if: always() shell: bash + - name: Upload blob report + if: always() && github.event_name == 'pull_request' + uses: ./.github/actions/upload-blob-report + with: + report_dir: blob-report + connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}'