Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

[skip ci] Send slack message for failed tests as well

Jakub Novakbaefeb808000
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 460ad7f88..5857380a6 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -47,3 +47,12 @@ jobs:
run: poetry run python scripts/upload_test_results.py
env:
SUPABASE_POSTGRES_URL: ${{ secrets.SUPABASE_POSTGRES_URL }}
+
+ - name: Release Failed - Slack Notification
+ if: failure()
+ uses: rtCamp/action-slack-notify@v2
+ env:
+ SLACK_COLOR: '#ff0000'
+ SLACK_MESSAGE: ':this-is-fine: :meow-code: We need :fix-parrot: ASAP :pray:'
+ SLACK_TITLE: Tasts Failed
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}