From 94b93d40ff62ebe46762fce52505b595c38cc1b1 Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Tue, 2 Jul 2024 19:40:05 +0100 Subject: [PATCH] [testing workflows] Removed deprecated reporting CI steps (#49025) * Removed deprecated reporting steps * Test change * Revert test change --- .github/workflows/ci.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f33642037d..67a503f2972 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -339,40 +339,6 @@ jobs: -f suite="$REPORT_NAME" \ -f report_title="$REPORT_TITLE" \ --repo woocommerce/woocommerce-test-reports - - - name: 'Publish report to dashboard (deprecated)' - env: - GH_TOKEN: ${{ secrets.REPORTS_TOKEN }} - PR_NUMBER: ${{ github.event.pull_request.number }} - RUN_ID: ${{ github.run_id }} - REPORT_NAME: ${{ matrix.report }} - if: ${{ contains(matrix.report, 'e2e') && !! steps.merge-artifacts.outputs.artifact-id }} # temporary until we adapt the woocommerce-test-reports side to not care about the test type - run: | - if [ "$GITHUB_EVENT_NAME" == pull_request ]; then - gh workflow run publish-test-reports-pr.yml \ - -f run_id=$RUN_ID \ - -f e2e_artifact=$ARTIFACT_NAME \ - -f pr_number=$PR_NUMBER \ - -f commit_sha=$GITHUB_SHA \ - -f s3_root=public \ - --repo woocommerce/woocommerce-test-reports - elif [ "$GITHUB_EVENT_NAME" == push ]; then - gh workflow run publish-test-reports-trunk-merge.yml \ - -f run_id=$RUN_ID \ - -f artifact=$ARTIFACT_NAME \ - -f pr_number=$PR_NUMBER \ - -f commit_sha=$GITHUB_SHA \ - -f test_type="e2e" \ - --repo woocommerce/woocommerce-test-reports - else - echo "No report will be created for '$GITHUB_EVENT_NAME' event" - fi - - - name: 'Add annotation to workflow run linking to PR' - if: ${{ github.event_name == 'pull_request' && contains(matrix.report, 'e2e') }} - run: | - echo "::notice::🔗🔗 The e2e report for this run is available at https://woocommerce.github.io/woocommerce-test-reports/pr/${{ github.event.pull_request.number }}/e2e" - report-flaky-tests: name: 'Create issues for flaky tests'