From b023b3fbb0b873cd525443039501163816c8a384 Mon Sep 17 00:00:00 2001 From: Shiipou Date: Wed, 3 Dec 2025 09:42:19 +0100 Subject: [PATCH] feat: add gradle job to customize the job to run --- .github/workflows/test-springboot.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-springboot.yml b/.github/workflows/test-springboot.yml index e03b375..60b9e8a 100644 --- a/.github/workflows/test-springboot.yml +++ b/.github/workflows/test-springboot.yml @@ -36,6 +36,11 @@ on: type: string description: 'The profile of the composefile to load' required: false + gradle-job: + type: string + description: 'The gradle job to run to execute tests' + required: false + default: 'test' outputs: artifact-id: @@ -71,7 +76,7 @@ jobs: docker compose -f ${{ inputs.compose-file }} --profile ${{ inputs.compose-profile }} up -d - name: Build with Gradle - run: gradle test + run: gradle ${{ inputs.gradle-job }} - name: Upload build artifacts if: inputs.artifact-name != '' && inputs.artifact-path != ''