ci: Fix arg for re-running server unit-tests
This commit is contained in:
parent
e1f9f13dc4
commit
c66990d64d
2
.github/workflows/server-build.yml
vendored
2
.github/workflows/server-build.yml
vendored
|
|
@ -178,7 +178,7 @@ jobs:
|
|||
args=()
|
||||
if [[ "${{ steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
|
||||
failed_tests="${{ steps.failed_tests.outputs.tests }}"
|
||||
args+=("-DfailIfNoTests=false" "-Dtest=${failed_tests}")
|
||||
args+=("-DfailIfNoTests=false" "-Dsurefire.failIfNoSpecifiedTests=false" "-Dtest=${failed_tests}")
|
||||
fi
|
||||
args+=("-DtestResultFile=$PWD/failed-server-tests.txt")
|
||||
if ! mvn test "${args[@]}"; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user