Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrwatson committed Sep 5, 2024
1 parent 7b7f3d7 commit 5dc92f6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run-api-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
cd bin/si-api-test
deno task run ${{ vars.API_TEST_WORKSPACE_ID }} ${{ secrets.API_TEST_EMAIL }} ${{ secrets.API_TEST_PASSWORD }} ${{ matrix.tests }}
on-failure:
runs-on: ubuntu-latest
needs: api-test
if: ${{ always() && contains(needs.*.result, 'failure') }}
steps:
- run: |
curl -X POST \
-H 'Content-type: application/json' \
--data "{\"text\": \":si: Failed API Tests for ${{ inputs.environment }}: <https://github.com/systeminit/si/actions/runs/$GITHUB_RUN_ID|:test_tube: Link>\"}" ${{ secrets.SLACK_WEBHOOK_URL }}
#on-failure:
# runs-on: ubuntu-latest
# needs: api-test
# if: ${{ always() && contains(needs.*.result, 'failure') }}
# steps:
# - run: |
# curl -X POST \
# -H 'Content-type: application/json' \
# --data "{\"text\": \":si: Failed API Tests for ${{ inputs.environment }}: <https://github.com/systeminit/si/actions/runs/$GITHUB_RUN_ID|:test_tube: Link>\"}" ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 5dc92f6

Please sign in to comment.