From 52b10a18c117e659258848d78562ed2868e997e7 Mon Sep 17 00:00:00 2001 From: Renan Franca Date: Mon, 9 Dec 2024 09:18:39 -0300 Subject: [PATCH 1/2] feat: add unit test step into .gitlab-ci-gradle.yml.mustache --- .../generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache b/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache index 46f560b5107..47e1b1eafb7 100644 --- a/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache +++ b/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache @@ -24,5 +24,6 @@ stages: Test:run-tests: stage: test script: - - ./gradlew clean integrationTest $GRADLE_CLI_OPTS + - ./gradlew clean test $GRADLE_CLI_OPTS + - ./gradlew integrationTest $GRADLE_CLI_OPTS interruptible: true From 13177c19fa56b0ccd24bd22e10b491d6139c023b Mon Sep 17 00:00:00 2001 From: Renan Franca Date: Mon, 9 Dec 2024 09:59:18 -0300 Subject: [PATCH 2/2] fix: remove unnecessary clean from .gitlab-ci-gradle.yml.mustache --- .../generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache b/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache index 47e1b1eafb7..67fa25af540 100644 --- a/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache +++ b/src/main/resources/generator/ci/gitlab/.gitlab-ci-gradle.yml.mustache @@ -24,6 +24,6 @@ stages: Test:run-tests: stage: test script: - - ./gradlew clean test $GRADLE_CLI_OPTS + - ./gradlew test $GRADLE_CLI_OPTS - ./gradlew integrationTest $GRADLE_CLI_OPTS interruptible: true