|
67 | 67 | tags: ${{ inputs.tags }}
|
68 | 68 | matrix: ${{ inputs.matrix }}
|
69 | 69 |
|
70 |
| - |
71 | 70 | ci-test-result:
|
72 | 71 | needs: [ci-test]
|
73 | 72 | # Only run if the ci-test with matrices step is successful
|
@@ -177,57 +176,57 @@ jobs:
|
177 | 176 | if: needs.ci-test.result != 'success' && steps.combine_ci.outputs.specs_failed == '1'
|
178 | 177 |
|
179 | 178 | with:
|
180 |
| - content: | |
181 |
| - <!-- This is an auto-generated comment: Cypress test results --> |
182 |
| - > [!CAUTION] |
183 |
| - > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
184 |
| - > Commit: `${{ github.event.pull_request.head.sha }}` |
185 |
| - > Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a> |
186 |
| - > The following are new failures, please fix them before merging the PR: <ol> |
187 |
| - ${{env.new_failed_spec_env}} </ol> |
188 |
| - > To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master" target="_blank">Refer here</a> |
189 |
| -
|
190 |
| - <!-- end of auto-generated comment: Cypress test results --> |
191 |
| -
|
192 |
| - regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
193 |
| - regexFlags: ims |
194 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 179 | + content: | |
| 180 | + <!-- This is an auto-generated comment: Cypress test results --> |
| 181 | + > [!CAUTION] |
| 182 | + > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
| 183 | + > Commit: `${{ github.event.pull_request.head.sha }}` |
| 184 | + > Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a> |
| 185 | + > The following are new failures, please fix them before merging the PR: <ol> |
| 186 | + ${{env.new_failed_spec_env}} </ol> |
| 187 | + > To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master" target="_blank">Refer here</a> |
| 188 | +
|
| 189 | + <!-- end of auto-generated comment: Cypress test results --> |
| 190 | +
|
| 191 | + regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
| 192 | + regexFlags: ims |
| 193 | + token: ${{ secrets.GITHUB_TOKEN }} |
195 | 194 |
|
196 | 195 | - name: Modify test response in the PR when ci-test is failed but no specs found
|
197 | 196 | if: needs.ci-test.result != 'success' && steps.combine_ci.outputs.specs_failed == '0'
|
198 | 197 |
|
199 | 198 | with:
|
200 |
| - content: | |
201 |
| - <!-- This is an auto-generated comment: Cypress test results --> |
202 |
| - > [!WARNING] |
203 |
| - > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
204 |
| - > Commit: `${{ github.event.pull_request.head.sha }}` |
205 |
| - > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a> |
206 |
| - > It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" target="_blank">here.</a> |
| 199 | + content: | |
| 200 | + <!-- This is an auto-generated comment: Cypress test results --> |
| 201 | + > [!WARNING] |
| 202 | + > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
| 203 | + > Commit: `${{ github.event.pull_request.head.sha }}` |
| 204 | + > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a> |
| 205 | + > It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" target="_blank">here.</a> |
207 | 206 |
|
208 |
| - <!-- end of auto-generated comment: Cypress test results --> |
| 207 | + <!-- end of auto-generated comment: Cypress test results --> |
209 | 208 |
|
210 |
| - regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
211 |
| - regexFlags: ims |
212 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 209 | + regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
| 210 | + regexFlags: ims |
| 211 | + token: ${{ secrets.GITHUB_TOKEN }} |
213 | 212 |
|
214 | 213 | - name: Modify test response in the PR when ci-test is success
|
215 | 214 | if: needs.ci-test.result == 'success' && steps.combine_ci.outputs.specs_failed == '0'
|
216 | 215 |
|
217 | 216 | with:
|
218 |
| - content: | |
219 |
| - <!-- This is an auto-generated comment: Cypress test results --> |
220 |
| - > [!IMPORTANT] |
221 |
| - > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
222 |
| - > Commit: `${{ github.event.pull_request.head.sha }}` |
223 |
| - > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a> |
224 |
| - > All cypress tests have passed 🎉🎉🎉 |
225 |
| -
|
226 |
| - <!-- end of auto-generated comment: Cypress test results --> |
227 |
| -
|
228 |
| - regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
229 |
| - regexFlags: ims |
230 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 217 | + content: | |
| 218 | + <!-- This is an auto-generated comment: Cypress test results --> |
| 219 | + > [!IMPORTANT] |
| 220 | + > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> |
| 221 | + > Commit: `${{ github.event.pull_request.head.sha }}` |
| 222 | + > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a> |
| 223 | + > All cypress tests have passed 🎉🎉🎉 |
| 224 | +
|
| 225 | + <!-- end of auto-generated comment: Cypress test results --> |
| 226 | +
|
| 227 | + regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->" |
| 228 | + regexFlags: ims |
| 229 | + token: ${{ secrets.GITHUB_TOKEN }} |
231 | 230 |
|
232 | 231 | - name: Check ci-test set status
|
233 | 232 | if: needs.ci-test.result != 'success'
|
|
0 commit comments