|
18 | 18 | description: 'E2E test level: 0(highest) to 4(lowest)' |
19 | 19 | required: false |
20 | 20 | type: string |
21 | | - default: 4 |
| 21 | + default: "4" |
22 | 22 | feature_type: |
23 | 23 | description: 'E2E feature type filter' |
24 | 24 | required: false |
@@ -199,7 +199,9 @@ jobs: |
199 | 199 | if [ -f tests/e2e/out/upgrade_report.json ]; then |
200 | 200 | rm tests/e2e/out/upgrade_report.json |
201 | 201 | fi |
202 | | - rm tests/e2e/out/report.json |
| 202 | + if [ -f tests/e2e/out/report.json ]; then |
| 203 | + rm tests/e2e/out/report.json |
| 204 | + fi |
203 | 205 |
|
204 | 206 | # Archive logs for failed test cases if there are any |
205 | 207 | - name: Archive Kind logs |
@@ -252,22 +254,15 @@ jobs: |
252 | 254 | with: |
253 | 255 | path: test-artifacts |
254 | 256 | pattern: testartifacts-* |
255 | | - |
256 | | - - name: Flatten all artifacts onto directory |
257 | | - # The download-artifact action, since we did not give it a name, |
258 | | - # downloads all artifacts and creates a new folder for each. |
259 | | - # In this step we bring all the JSONs to a single folder |
260 | | - run: | |
261 | | - mkdir test-artifacts/data |
262 | | - mv test-artifacts/*/*.json test-artifacts/data |
| 257 | + merge-multiple: true |
263 | 258 |
|
264 | 259 | - name: Display the structure of the artifact folder |
265 | | - run: ls -R test-artifacts/data |
| 260 | + run: ls -R test-artifacts |
266 | 261 |
|
267 | 262 | - name: Compute the E2E test summary |
268 | 263 | uses: cloudnative-pg/[email protected] |
269 | 264 | with: |
270 | | - artifact_directory: test-artifacts/data |
| 265 | + artifact_directory: test-artifacts |
271 | 266 |
|
272 | 267 | - name: Delete the downloaded files |
273 | 268 | run: rm -rf test-artifacts |
0 commit comments