Skip to content

Commit

Permalink
Allow re-running failed e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
whites11 committed Oct 1, 2024
1 parent a4fc23a commit 5f98df2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
if: ${{ needs.e2e.outputs.status == 'failure' }}
steps:
- name: Report Failure on slack
if: ${{ !contains(inputs.notify_errors, 'false') }}
if: ${{ needs.e2e.outputs.status == 'failure' && !contains(inputs.notify_errors, 'false') }}
uses: ravsamhq/notify-slack-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -155,7 +155,10 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
- name: Report error on github UI
run: |
exit 1
if [ ${{ needs.e2e.outputs.status }} == 'failure' ]
then
exit 1
fi
# Delete any leftover service that might have failed deleting
cleanup:
Expand Down

0 comments on commit 5f98df2

Please sign in to comment.