@@ -602,6 +602,51 @@ jobs:
602602 with :
603603 flags : unittests # optional
604604
605+ unit-test-notifications :
606+ needs : changes
607+ if : ${{ needs.changes.outputs.notifications == 'true' || github.event_name == 'push' }}
608+ timeout-minutes : 18 # if this timeout gets too small, then split the tests
609+ name : " [unit] notifications"
610+ runs-on : ${{ matrix.os }}
611+ strategy :
612+ matrix :
613+ python : ["3.11"]
614+ os : [ubuntu-24.04]
615+ fail-fast : false
616+ steps :
617+ - uses : actions/checkout@v4
618+ - name : setup docker buildx
619+ id : buildx
620+ uses : docker/setup-buildx-action@v3
621+ with :
622+ driver : docker-container
623+ - name : setup python environment
624+ uses : actions/setup-python@v5
625+ with :
626+ python-version : ${{ matrix.python }}
627+ - name : install rclone
628+ run : sudo ./ci/github/helpers/install_rclone.bash
629+ - name : install uv
630+ uses : astral-sh/setup-uv@v5
631+ with :
632+ version : " 0.5.x"
633+ enable-cache : false
634+ cache-dependency-glob : " **/notifications/requirements/ci.txt"
635+ - name : show system version
636+ run : ./ci/helpers/show_system_versions.bash
637+ - name : install
638+ run : ./ci/github/unit-testing/notifications.bash install
639+ - name : typecheck
640+ run : ./ci/github/unit-testing/notifications.bash typecheck
641+ - name : test
642+ if : ${{ !cancelled() }}
643+ run : ./ci/github/unit-testing/notifications.bash test
644+ - uses : codecov/codecov-action@v5
645+ if : ${{ !cancelled() }}
646+ env :
647+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
648+ with :
649+ flags : unittests # optional
605650
606651 unit-test-api :
607652 needs : changes
@@ -1839,6 +1884,7 @@ jobs:
18391884 unit-test-common-library,
18401885 unit-test-notifications-library,
18411886 unit-test-payments,
1887+ unit-test-notifications,
18421888 unit-test-dynamic-scheduler,
18431889 unit-test-postgres-database,
18441890 unit-test-python-linting,
0 commit comments