Skip to content

Commit

Permalink
focus on acceptance and ref only
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Feb 24, 2025
1 parent df48ab9 commit 9bf0a5a
Show file tree
Hide file tree
Showing 2 changed files with 185 additions and 195 deletions.
27 changes: 17 additions & 10 deletions .github/actions/testResults/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,11 @@ runs:
done
tree build/test-output/
- name: Gather test artifacats
- name: Collate acceptance Test reports
if: "${{ inputs.suiteName == 'acceptanceTests' }}"
shell: bash
run: |
FILES=`find . -name test-artifacts`
for FILE in $FILES
do
MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/test-artifacts@\1@'`
TARGET="build/test-artifacts/$MODULE"
mkdir -p "$TARGET"
cp -rf ${FILE}/*/* "$TARGET"
done
tree build/test-artifacts/
cp -r acceptance-tests/build/reports/tests/acceptanceTest build/test-reports/
- name: Gather test reports
shell: bash
Expand All @@ -60,6 +53,20 @@ runs:
fi
tree build/test-reports/
- name: Gather extra artifacts for acceptance tests
if: "${{ github.event.inputs.suiteName == 'acceptanceTests' }}"
shell: bash
run: |
FILES=`find . -name test-artifacts`
for FILE in $FILES
do
MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/test-artifacts@\1@'`
TARGET="build/test-artifacts/$MODULE"
mkdir -p "$TARGET"
cp -rf ${FILE}/*/* "$TARGET"
done
tree build/test-artifacts/
- name: Publish Test Results and Reports
uses: actions/upload-artifact@v4
if: always()
Expand Down
Loading

0 comments on commit 9bf0a5a

Please sign in to comment.