From dc9cc306b3ba0535de479b385c145a7046916b09 Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Sun, 26 Apr 2026 21:45:36 -0700 Subject: [PATCH 1/6] test03 --- .github/workflows/testsPython.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index 452f71d..3072d0d 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -29,6 +29,7 @@ on: branches: # - main # - next # Trigger workflow on pushes to main and next + - stanDev paths: # branches, but only if Python files are changed - "**.py" # From 99f28f411afc445d9b7ad283654f978d299c22fe Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Sun, 26 Apr 2026 22:46:46 -0700 Subject: [PATCH 2/6] test04 --- .github/actions/tests/python/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/tests/python/action.yml b/.github/actions/tests/python/action.yml index 9e54504..d68f3f7 100644 --- a/.github/actions/tests/python/action.yml +++ b/.github/actions/tests/python/action.yml @@ -3,6 +3,7 @@ # Run Python unit tests #------------------------------------------------------------------------------ name: Test Python +description: "Run Python unit tests in a specified environment" branding: icon: "git-pull-request" color: "orange" From 4fe4500e08aed334200dd8b0ca9510c1d620b9fd Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Sun, 26 Apr 2026 23:14:44 -0700 Subject: [PATCH 3/6] test05 --- .github/workflows/testsPython.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index 3072d0d..d9ad758 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -28,8 +28,8 @@ on: push: branches: # - main # - - next # Trigger workflow on pushes to main and next - - stanDev + # - next # Trigger workflow on pushes to main and next + - EDBIDev paths: # branches, but only if Python files are changed - "**.py" # From 7c227ea4cde7748b4c4fb84653613905494b9391 Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Sun, 26 Apr 2026 23:55:30 -0700 Subject: [PATCH 4/6] test06 --- .github/workflows/testsPython.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index d9ad758..56f764c 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -78,3 +78,21 @@ jobs: else echo "failure notifications go here" fi + email-notification: + runs-on: ubuntu-latest + steps: + - name: Send mail to Team + uses: dawidd6/action-send-mail@v3 + with: + # Your SMTP server details (e.g., Gmail or Outlook) + server_address: smtp.gmail.com + server_port: 465 + username: ${{secrets.MAIL_USERNAME}} + password: ${{secrets.MAIL_PASSWORD}} + + subject: GitHub Actions Workflow Alert + # Add multiple recipients here, separated by commas + to: stan.tian@ubc.ca, stan.tian@gmail.com + + from: GitHub Actions Robot + body: The workflow for ${{github.repository}} has completed! \ No newline at end of file From c41eaea29f24ea7ec21f3415c114173cf51c6c47 Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Mon, 27 Apr 2026 00:16:07 -0700 Subject: [PATCH 5/6] test07 --- .github/workflows/testsPython.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index 56f764c..25a15d8 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -79,6 +79,8 @@ jobs: echo "failure notifications go here" fi email-notification: + if: ${{ always() }} + needs: python-unit-tests runs-on: ubuntu-latest steps: - name: Send mail to Team From bbf9bf7d1f03f05239e3a347073638e799ee0469 Mon Sep 17 00:00:00 2001 From: Stan Tian Date: Mon, 27 Apr 2026 00:41:37 -0700 Subject: [PATCH 6/6] test07 --- .github/workflows/testsPython.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testsPython.yml b/.github/workflows/testsPython.yml index 25a15d8..f4630f2 100644 --- a/.github/workflows/testsPython.yml +++ b/.github/workflows/testsPython.yml @@ -68,6 +68,7 @@ jobs: # is scaffolded to facilitate sending notifications based # on the test results. notifications: + if: ${{ always() }} needs: python-unit-tests runs-on: ubuntu-latest steps: