ci: Fix cypress dashboard link in pr comment (#24904)
## Description - Fix cypress dashboard link in pr comment #### Type of change - Workflow file changes ## Testing > #### How Has This Been Tested? - Workflow run
This commit is contained in:
parent
14073f62b1
commit
9edd00050d
4
.github/workflows/ci-test.yml
vendored
4
.github/workflows/ci-test.yml
vendored
|
|
@ -484,9 +484,9 @@ jobs:
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
|
if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
|
||||||
echo "cypress_url=${{ steps.cypress_test.outputs.resultsUrl }}" >> ~/cypress_url
|
echo ${{ steps.cypress_test.outputs.resultsUrl }} >> ~/cypress_url
|
||||||
elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
|
elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
|
||||||
echo "cypress_url=${{ steps.cypress_test_failedtest.outputs.resultsUrl }}" >> ~/cypress_url
|
echo ${{ steps.cypress_test_failedtest.outputs.resultsUrl }} >> ~/cypress_url
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Force store previous run result to cache
|
# Force store previous run result to cache
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ jobs:
|
||||||
body: |
|
body: |
|
||||||
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
|
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
|
||||||
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
||||||
Cypress dashboard: `<a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank"> Click here! </a>`
|
Cypress dashboard: <a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank"> Click here!</a>
|
||||||
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
|
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
|
||||||
To know the list of identified flaky tests - <a href="https://app.appsmith.com/applications/613868bedd7786286ddd4a6a/pages/63ec710e8e503f763651791a" target="_blank">Refer here</a>
|
To know the list of identified flaky tests - <a href="https://app.appsmith.com/applications/613868bedd7786286ddd4a6a/pages/63ec710e8e503f763651791a" target="_blank">Refer here</a>
|
||||||
|
|
||||||
|
|
@ -219,7 +219,7 @@ jobs:
|
||||||
body: |
|
body: |
|
||||||
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
|
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
|
||||||
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
||||||
Cypress dashboard url: `<a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank">Click here!</a>`
|
Cypress dashboard url: <a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank">Click here!</a>
|
||||||
All cypress tests have passed 🎉🎉🎉
|
All cypress tests have passed 🎉🎉🎉
|
||||||
|
|
||||||
# Update check run called "ci-test-result"
|
# Update check run called "ci-test-result"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user