|
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 |
| 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 |
@@ -212,6 +227,21 @@ jobs: |
212 | 227 | path: e2e_repo/playwright-report/ |
213 | 228 | retention-days: 30 |
214 | 229 |
|
| 230 | + - name: 📝 Capture Server Logs |
| 231 | + if: always() |
| 232 | + uses: jwalton/gh-docker-logs@v2 |
| 233 | + with: |
| 234 | + dest: "./logs" |
| 235 | + |
| 236 | + - name: 📤 Upload Logs as Artifact |
| 237 | + uses: actions/upload-artifact@v4 |
| 238 | + if: always() |
| 239 | + with: |
| 240 | + name: server-logs |
| 241 | + path: "./logs" |
| 242 | + retention-days: 2 |
| 243 | + overwrite: true |
| 244 | + |
215 | 245 | run-esm-core-e2e-tests: |
216 | 246 | runs-on: ubuntu-latest |
217 | 247 | needs: build |
@@ -273,6 +303,21 @@ jobs: |
273 | 303 | path: e2e_repo/playwright-report/ |
274 | 304 | retention-days: 30 |
275 | 305 |
|
| 306 | + - name: 📝 Capture Server Logs |
| 307 | + if: always() |
| 308 | + uses: jwalton/gh-docker-logs@v2 |
| 309 | + with: |
| 310 | + dest: "./logs" |
| 311 | + |
| 312 | + - name: 📤 Upload Logs as Artifact |
| 313 | + uses: actions/upload-artifact@v4 |
| 314 | + if: always() |
| 315 | + with: |
| 316 | + name: server-logs |
| 317 | + path: "./logs" |
| 318 | + retention-days: 2 |
| 319 | + overwrite: true |
| 320 | + |
276 | 321 | run-cohort-builder-e2e-tests: |
277 | 322 | runs-on: ubuntu-latest |
278 | 323 | needs: build |
@@ -333,3 +378,18 @@ jobs: |
333 | 378 | name: report-cohort-builder |
334 | 379 | path: e2e_repo/playwright-report/ |
335 | 380 | retention-days: 30 |
| 381 | + |
| 382 | + - name: 📝 Capture Server Logs |
| 383 | + if: always() |
| 384 | + uses: jwalton/gh-docker-logs@v2 |
| 385 | + with: |
| 386 | + dest: "./logs" |
| 387 | + |
| 388 | + - name: 📤 Upload Logs as Artifact |
| 389 | + uses: actions/upload-artifact@v4 |
| 390 | + if: always() |
| 391 | + with: |
| 392 | + name: server-logs |
| 393 | + path: "./logs" |
| 394 | + retention-days: 2 |
| 395 | + overwrite: true |
0 commit comments