File tree Expand file tree Collapse file tree 2 files changed +185
-195
lines changed Expand file tree Collapse file tree 2 files changed +185
-195
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,11 @@ runs:
27
27
done
28
28
tree build/test-output/
29
29
30
- - name : Gather test artifacats
30
+ - name : Collate acceptance Test reports
31
+ if : " ${{ github.event.inputs.suiteName == 'acceptanceTests' }}"
31
32
shell : bash
32
33
run : |
33
- FILES=`find . -name test-artifacts`
34
- for FILE in $FILES
35
- do
36
- MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/test-artifacts@\1@'`
37
- TARGET="build/test-artifacts/$MODULE"
38
- mkdir -p "$TARGET"
39
- cp -rf ${FILE}/*/* "$TARGET"
40
- done
41
- tree build/test-artifacts/
34
+ cp -r acceptance-tests/build/reports/tests/acceptanceTest build/test-reports/
42
35
43
36
- name : Gather test reports
44
37
shell : bash
60
53
fi
61
54
tree build/test-reports/
62
55
56
+ - name : Gather extra artifacts for acceptance tests
57
+ if : " ${{ github.event.inputs.suiteName == 'acceptanceTests' }}"
58
+ shell : bash
59
+ run : |
60
+ FILES=`find . -name test-artifacts`
61
+ for FILE in $FILES
62
+ do
63
+ MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/test-artifacts@\1@'`
64
+ TARGET="build/test-artifacts/$MODULE"
65
+ mkdir -p "$TARGET"
66
+ cp -rf ${FILE}/*/* "$TARGET"
67
+ done
68
+ tree build/test-artifacts/
69
+
63
70
- name : Publish Test Results and Reports
64
71
uses : actions/upload-artifact@v4
65
72
if : always()
You can’t perform that action at this time.
0 commit comments