File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 7373 if [ -n "${{ inputs.junit-glob }}" ]; then
7474 JUNIT_GLOB="--junit-glob '${{ inputs.junit-glob }}'"
7575 fi
76- TESTS=$(java -jar split-tests-java.jar --split-index ${{ inputs.split-index }} --split-total ${{ inputs.split-total }} --glob '${{ inputs.glob }}' ${EXCLUDE_GLOB} ${JUNIT_GLOB} --format ${{ inputs.format }} --average-time ${{ inputs.average-time }} --debug ${{ inputs.debug }})
76+ AVERAGE_TIME=""
77+ if [ -n "${{ inputs.average-time }}" ]; then
78+ AVERAGE_TIME="--average-time"
79+ fi
80+ DEBUG=""
81+ if [ -n "${{ inputs.debug }}" ]; then
82+ DEBUG="--debug"
83+ fi
84+ TESTS=$(java -jar split-tests-java.jar --split-index ${{ inputs.split-index }} --split-total ${{ inputs.split-total }} --glob '${{ inputs.glob }}' ${EXCLUDE_GLOB} ${JUNIT_GLOB} --format ${{ inputs.format }} ${AVERAGE_TIME} ${DEBUG}
7785 echo "This runner will execute the following tests: $TESTS"
7886 echo "test-suite=${TESTS}" >> $GITHUB_OUTPUT
7987branding :
You can’t perform that action at this time.
0 commit comments