[testing workflows] Removed deprecated reporting CI steps (#49025)
* Removed deprecated reporting steps * Test change * Revert test change
This commit is contained in:
parent
37280df9ea
commit
94b93d40ff
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue