Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/testsPython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,18 @@ jobs:
- name: Notify on test results
run: |
if [ "${{ needs.python-unit-tests.result }}" == "success" ]; then
echo "success notifications go here"
echo "✅ Tests passed! No action required."
else
echo "failure notifications go here"
fi
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.EMAIL_USERNAME }}
password: ${{ secrets.EMAIL_PASSWORD }}
subject: "❌ CRITICAL: Python Unit Tests failed on ${{ github.repository }}"
to: ${{ secrets.EMAILS_TO_NOTIFY }}
from: GitHub Actions
body: |
Branch: ${{ github.ref_name }}
Triggered by: ${{ github.actor }}
fi