From 978565a6889298e6b3d24d4b620196933ca61405 Mon Sep 17 00:00:00 2001 From: Andreas Gebhardt Date: Sat, 30 Nov 2024 17:29:38 +0100 Subject: [PATCH] =?UTF-8?q?run=20=C2=BBSpring=20Boot=C2=AB=20test(s)=20on?= =?UTF-8?q?=20changes=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{ci.yml => spring-boot.yml} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) rename .github/workflows/{ci.yml => spring-boot.yml} (91%) diff --git a/.github/workflows/ci.yml b/.github/workflows/spring-boot.yml similarity index 91% rename from .github/workflows/ci.yml rename to .github/workflows/spring-boot.yml index 3b20b9e..37b2022 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/spring-boot.yml @@ -1,8 +1,13 @@ --- -name: CI -permissions: {} +name: Spring Boot +permissions: { } + +on: + push: + paths: + - 'spring-boot/**' + - '.github/workflows/spring-boot.yml' -on: [ push ] jobs: build-java: runs-on: ubuntu-22.04 @@ -25,6 +30,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - run: mvn test --no-transfer-progress --file spring-boot/pom.xml -DargLine="-Dspring.datasource.url=jdbc:tc:postgresql:${{ matrix.pgDockerTag }}:///" + diKTat: runs-on: ubuntu-22.04 steps: