FINERACT-2326: Fix split-tests.sh script

This commit is contained in:
Adam Saghy
2025-09-23 09:34:44 +02:00
committed by Arnold Gálovics
parent 7f07c0afce
commit 84c90d6016
6 changed files with 16 additions and 45 deletions
+1 -13
View File
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
task: [test-core-1, test-core-2, test-core-3, test-core-4, test-core-5, test-twofactor, test-oauth2]
task: [test-core-1, test-core-2, test-core-3, test-core-4, test-core-5]
services:
postgresql:
@@ -101,18 +101,6 @@ jobs:
FAILED=0
case "${{ matrix.task }}" in
test-twofactor)
if ! ./gradlew --no-daemon :twofactor-tests:test -PdbType=postgresql -x checkstyleJmh -x checkstyleMain -x checkstyleTest -x spotlessCheck -x spotlessApply -x spotbugsMain -x spotbugsTest -x javadoc -x javadocJar -x modernizer; then
echo "::error::Two-factor tests failed"
FAILED=1
fi
;;
test-oauth2)
if ! ./gradlew --no-daemon :oauth2-tests:test -PdbType=postgresql -x checkstyleJmh -x checkstyleMain -x checkstyleTest -x spotlessCheck -x spotlessApply -x spotbugsMain -x spotbugsTest -x javadoc -x javadocJar -x modernizer; then
echo "::error::OAuth2 tests failed"
FAILED=1
fi
;;
test-core-*)
echo "Grouping test classes by module..."
declare -A module_tests