20
20
21
21
jobs :
22
22
build_and_check :
23
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-22.04
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
@@ -123,13 +123,13 @@ jobs:
123
123
target/*.zip
124
124
125
125
- name : Save primary artefacts
126
- uses : actions/upload-artifact@v3.1.3
126
+ uses : actions/upload-artifact@v4.4.0
127
127
with :
128
128
name : Artefacts
129
129
path : artefacts.tar
130
130
131
131
build_storybook :
132
- runs-on : ubuntu-latest
132
+ runs-on : ubuntu-22.04
133
133
steps :
134
134
# Using v1 (rather than v2) through-out this workflow due to issue:
135
135
# https://github.com/actions/checkout/issues/237
@@ -174,15 +174,15 @@ jobs:
174
174
tar cvf storybook.tar storybook-static
175
175
176
176
- name : Save Static Storybook instance
177
- uses : actions/upload-artifact@v3.1.3
177
+ uses : actions/upload-artifact@v4.4.0
178
178
with :
179
179
name : Storybook
180
180
path : react-front-end/storybook.tar
181
181
182
182
functional_testing :
183
183
needs : build_and_check
184
184
185
- runs-on : ubuntu-latest
185
+ runs-on : ubuntu-22.04
186
186
187
187
strategy :
188
188
matrix :
@@ -213,6 +213,7 @@ jobs:
213
213
AUTOTEST_CONFIG : autotest/github-actions.conf
214
214
EQ_EXIFTOOL_PATH : /usr/bin/exiftool
215
215
OLD_TEST_NEWUI : ${{ matrix.newui }}
216
+ MATRIX_ID : ${{ matrix.newui && 'NEWUI' || 'OLDUI' }}-psql_${{ matrix.pgsql-image }}
216
217
217
218
steps :
218
219
- name : Install OS dependencies
@@ -236,7 +237,7 @@ jobs:
236
237
node-version-file : ' .nvmrc'
237
238
238
239
- name : Download Artefacts
239
- uses : actions/download-artifact@v3
240
+ uses : actions/download-artifact@v4.1.7
240
241
with :
241
242
path : Artefacts
242
243
name : Artefacts
@@ -263,9 +264,9 @@ jobs:
263
264
264
265
- name : Save Scalacheck results
265
266
if : matrix.newui && failure()
266
- uses : actions/upload-artifact@v3.1.3
267
+ uses : actions/upload-artifact@v4.4.0
267
268
with :
268
- name : ScalacheckReports
269
+ name : ScalacheckReports-${{ env.MATRIX_ID }}
269
270
path : autotest/Tests/target/test-reports
270
271
271
272
- name : Run TestNG tests
@@ -274,23 +275,23 @@ jobs:
274
275
275
276
- name : Save TestNG Reports
276
277
if : failure()
277
- uses : actions/upload-artifact@v3.1.3
278
+ uses : actions/upload-artifact@v4.4.0
278
279
with :
279
- name : TestNGReports-new- ${{ matrix.newui }}
280
+ name : TestNGReports-${{ env.MATRIX_ID }}
280
281
path : autotest/OldTests/target/testng
281
282
282
283
- name : Save oEQ Logs
283
284
if : failure()
284
- uses : actions/upload-artifact@v3.1.3
285
+ uses : actions/upload-artifact@v4.4.0
285
286
with :
286
- name : oEQLogs-new- ${{ matrix.newui }}
287
+ name : oEQLogs-${{ env.MATRIX_ID }}
287
288
path : autotest/equella-install/logs
288
289
289
290
- name : Save Screenshots
290
291
if : failure()
291
- uses : actions/upload-artifact@v3.1.3
292
+ uses : actions/upload-artifact@v4.4.0
292
293
with :
293
- name : Screenshots-new- ${{ matrix.newui }}
294
+ name : Screenshots-${{ env.MATRIX_ID }}
294
295
path : autotest/Tests/target/test-reports/screenshots
295
296
296
297
- name : Generate coverage report
@@ -305,15 +306,15 @@ jobs:
305
306
tar cvf coverage_report.tar autotest/target/coverage-report/
306
307
307
308
- name : Save Coverage Report
308
- uses : actions/upload-artifact@v3.1.3
309
+ uses : actions/upload-artifact@v4.4.0
309
310
with :
310
- name : CoverageReport-newui- ${{ matrix.newui }}
311
+ name : CoverageReport-${{ env.MATRIX_ID }}
311
312
path : coverage_report.tar
312
313
313
314
rest-module-testing :
314
315
needs : build_and_check
315
316
316
- runs-on : ubuntu-latest
317
+ runs-on : ubuntu-22.04
317
318
318
319
services :
319
320
postgres :
@@ -356,7 +357,7 @@ jobs:
356
357
node-version-file : ' .nvmrc'
357
358
358
359
- name : Download installer
359
- uses : actions/download-artifact@v3
360
+ uses : actions/download-artifact@v4.1.7
360
361
with :
361
362
path : Artefacts
362
363
name : Artefacts
@@ -387,7 +388,7 @@ jobs:
387
388
388
389
- name : Save oEQ logs for REST Module
389
390
if : failure()
390
- uses : actions/upload-artifact@v3.1.3
391
+ uses : actions/upload-artifact@v4.4.0
391
392
with :
392
393
name : oEQ-logs-rest-module
393
394
path : autotest/equella-install/logs
0 commit comments