Skip to content

Commit 14a5559

Browse files
focus on acceptance and ref only
1 parent df48ab9 commit 14a5559

File tree

2 files changed

+185
-195
lines changed

2 files changed

+185
-195
lines changed

.github/actions/testResults/action.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,11 @@ runs:
2727
done
2828
tree build/test-output/
2929
30-
- name: Gather test artifacats
30+
- name: Collate acceptance Test reports
31+
if: "${{ github.event.inputs.suiteName == 'acceptanceTests' }}"
3132
shell: bash
3233
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/
4235
4336
- name: Gather test reports
4437
shell: bash
@@ -60,6 +53,20 @@ runs:
6053
fi
6154
tree build/test-reports/
6255
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+
6370
- name: Publish Test Results and Reports
6471
uses: actions/upload-artifact@v4
6572
if: always()

0 commit comments

Comments
 (0)