From 9e6f32324d6bbe1cc3710735ac47c32f1ad34115 Mon Sep 17 00:00:00 2001 From: Vincent Wong Date: Fri, 1 May 2026 16:50:58 -0700 Subject: [PATCH] add notifications Co-authored-by: Copilot --- .github/workflows/testsPython.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index 452f71d..28b713a 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -69,11 +69,16 @@ jobs: notifications: needs: python-unit-tests runs-on: ubuntu-latest + if: always() # Add this line steps: - name: Notify on test results run: | if [ "${{ needs.python-unit-tests.result }}" == "success" ]; then - echo "success notifications go here" + echo "::notice title=Tests Passed::All Python tests passed successfully! ✅" + echo "## ✅ Test Success" >> $GITHUB_STEP_SUMMARY + echo "All tests passed successfully" >> $GITHUB_STEP_SUMMARY else - echo "failure notifications go here" + echo "::error title=Tests Failed::Some Python tests failed. ❌" + echo "## ❌ Test Failure" >> $GITHUB_STEP_SUMMARY + echo "Some tests failed." >> $GITHUB_STEP_SUMMARY fi