Skip to content

Commit

Permalink
extend cmd line for acceptance testts
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Feb 24, 2025
1 parent 62ccf90 commit 37a1b40
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/actions/testResults/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ runs:
done
tree build/test-output/
# - name: Gather test reports
# shell: bash
# run: |
# rm -rf build/test-reports
# FILES=`find . -name reports -not -path './build/reports'`
# for FILE in $FILES
# do
# MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/reports@\1@'`
# TARGET="build/test-reports/$MODULE"
# SOURCE="${FILE}/tests/test"
# mkdir -p "$TARGET"
# if [[ -d "$SOURCE" ]]; then
# cp -rf "$SOURCE" "$TARGET"
# fi
# done
# if [[ -f 'build/reports/dependency-check-report.html' ]]; then
# cp 'build/reports/dependency-check-report.html' 'build/test-reports'
# fi
# tree build/test-reports/
- name: Gather test reports
shell: bash
run: |
rm -rf build/test-reports
FILES=`find . -name reports -not -path './build/reports'`
for FILE in $FILES
do
MODULE=`echo "$FILE" | sed -e 's@./\(.*\)/build/reports@\1@'`
TARGET="build/test-reports/$MODULE"
SOURCE="${FILE}/tests/test"
mkdir -p "$TARGET"
if [[ -d "$SOURCE" ]]; then
cp -rf "$SOURCE" "$TARGET"
fi
done
if [[ -f 'build/reports/dependency-check-report.html' ]]; then
cp 'build/reports/dependency-check-report.html' 'build/test-reports'
fi
tree build/test-reports/
- name: Publish Test Results and Reports
uses: actions/upload-artifact@v4
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

env:
JAVA_TOOL_OPTIONS: -Xmx4096m
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=4 -Xmx4096m
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=4 -Dorg.gradle.internal.cmdline.max.length=131072 -Xmx4096m

jobs:

Expand Down Expand Up @@ -242,6 +242,15 @@ jobs:
with:
suiteName: 'acceptanceTests'

- name: Publish Acceptance Test reports
uses: actions/upload-artifact@v4
if: always()
with:
if-no-files-found: ignore
retention-days: 7
path: |
build/reports/tests/acceptanceTest/
referenceTests:
needs: assemble
# 32 cpu, 128G ram
Expand Down

0 comments on commit 37a1b40

Please sign in to comment.