File tree Expand file tree Collapse file tree 1 file changed +44
-8
lines changed
Expand file tree Collapse file tree 1 file changed +44
-8
lines changed Original file line number Diff line number Diff line change 5555 - name : ' Checkout code'
5656 uses : actions/checkout@v5
5757
58- - name : Detect notifications code changes
59- uses : dorny/paths-filter@v3
60- id : filter
61- with :
62- filters : |
63- notifications:
64- - 'manage_breast_screening/notifications/**'
65-
6658 - name : Install poetry
6759 run : pipx install poetry
6860
9587 DATABASE_USER : postgres
9688 DATABASE_HOST : localhost
9789
90+ notifications-integration-test :
91+ needs : test
92+ name : ' Notifications Integration Tests'
93+ runs-on : ubuntu-latest
94+ timeout-minutes : 5
95+
96+ services :
97+ postgres :
98+ image : postgres:17.4-alpine3.21
99+ ports :
100+ - 5432:5432
101+ env :
102+ POSTGRES_PASSWORD : postgres
103+ options : >-
104+ --health-cmd pg_isready
105+ --health-interval 10s
106+ --health-timeout 5s
107+ --health-retries 5
108+
109+ steps :
110+ - name : ' Checkout code'
111+ uses : actions/checkout@v5
112+
113+ - name : Detect notifications code changes
114+ uses : dorny/paths-filter@v3
115+ id : filter
116+ with :
117+ filters : |
118+ notifications:
119+ - 'manage_breast_screening/notifications/**'
120+
121+ - name : Install poetry
122+ run : pipx install poetry
123+
124+ - name : Set up Python
125+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
126+ with :
127+ python-version : ' ${{inputs.python_version}}'
128+ cache : poetry
129+ cache-dependency-path : ./poetry.lock
130+
131+ - name : Install dependencies
132+ run : make dependencies
133+
98134 - name : ' Run notifications integration test suite'
99135 if : steps.filter.outputs.notifications == 'true'
100136 run : make test-integration
You can’t perform that action at this time.
0 commit comments