|
90 | 90 | path: e2e_repo/playwright-report/ |
91 | 91 | retention-days: 30 |
92 | 92 |
|
| 93 | + - name: 📝 Capture Server Logs |
| 94 | + if: always() |
| 95 | + uses: jwalton/gh-docker-logs@v2 |
| 96 | + with: |
| 97 | + dest: "./logs" |
| 98 | + |
| 99 | + - name: 📤 Upload Logs as Artifact |
| 100 | + uses: actions/upload-artifact@v4 |
| 101 | + if: always() |
| 102 | + with: |
| 103 | + name: server-logs-patient-management |
| 104 | + path: "./logs" |
| 105 | + retention-days: 2 |
| 106 | + overwrite: true |
| 107 | + |
93 | 108 | run-patient-chart-e2e-tests: |
94 | 109 | runs-on: ubuntu-latest |
95 | 110 | needs: build |
@@ -151,6 +166,21 @@ jobs: |
151 | 166 | path: e2e_repo/playwright-report/ |
152 | 167 | retention-days: 30 |
153 | 168 |
|
| 169 | + - name: 📝 Capture Server Logs |
| 170 | + if: always() |
| 171 | + uses: jwalton/gh-docker-logs@v2 |
| 172 | + with: |
| 173 | + dest: "./logs" |
| 174 | + |
| 175 | + - name: 📤 Upload Logs as Artifact |
| 176 | + uses: actions/upload-artifact@v4 |
| 177 | + if: always() |
| 178 | + with: |
| 179 | + name: server-logs-patient-chart |
| 180 | + path: "./logs" |
| 181 | + retention-days: 2 |
| 182 | + overwrite: true |
| 183 | + |
154 | 184 | run-form-builder-e2e-tests: |
155 | 185 | runs-on: ubuntu-latest |
156 | 186 | needs: build |
@@ -212,6 +242,21 @@ jobs: |
212 | 242 | path: e2e_repo/playwright-report/ |
213 | 243 | retention-days: 30 |
214 | 244 |
|
| 245 | + - name: 📝 Capture Server Logs |
| 246 | + if: always() |
| 247 | + uses: jwalton/gh-docker-logs@v2 |
| 248 | + with: |
| 249 | + dest: "./logs" |
| 250 | + |
| 251 | + - name: 📤 Upload Logs as Artifact |
| 252 | + uses: actions/upload-artifact@v4 |
| 253 | + if: always() |
| 254 | + with: |
| 255 | + name: server-logs-form-builder |
| 256 | + path: "./logs" |
| 257 | + retention-days: 2 |
| 258 | + overwrite: true |
| 259 | + |
215 | 260 | run-esm-core-e2e-tests: |
216 | 261 | runs-on: ubuntu-latest |
217 | 262 | needs: build |
@@ -273,6 +318,21 @@ jobs: |
273 | 318 | path: e2e_repo/playwright-report/ |
274 | 319 | retention-days: 30 |
275 | 320 |
|
| 321 | + - name: 📝 Capture Server Logs |
| 322 | + if: always() |
| 323 | + uses: jwalton/gh-docker-logs@v2 |
| 324 | + with: |
| 325 | + dest: "./logs" |
| 326 | + |
| 327 | + - name: 📤 Upload Logs as Artifact |
| 328 | + uses: actions/upload-artifact@v4 |
| 329 | + if: always() |
| 330 | + with: |
| 331 | + name: server-logs-esm-core |
| 332 | + path: "./logs" |
| 333 | + retention-days: 2 |
| 334 | + overwrite: true |
| 335 | + |
276 | 336 | run-cohort-builder-e2e-tests: |
277 | 337 | runs-on: ubuntu-latest |
278 | 338 | needs: build |
@@ -333,3 +393,18 @@ jobs: |
333 | 393 | name: report-cohort-builder |
334 | 394 | path: e2e_repo/playwright-report/ |
335 | 395 | retention-days: 30 |
| 396 | + |
| 397 | + - name: 📝 Capture Server Logs |
| 398 | + if: always() |
| 399 | + uses: jwalton/gh-docker-logs@v2 |
| 400 | + with: |
| 401 | + dest: "./logs" |
| 402 | + |
| 403 | + - name: 📤 Upload Logs as Artifact |
| 404 | + uses: actions/upload-artifact@v4 |
| 405 | + if: always() |
| 406 | + with: |
| 407 | + name: server-logs-cohort-builder |
| 408 | + path: "./logs" |
| 409 | + retention-days: 2 |
| 410 | + overwrite: true |
0 commit comments