From 13ef978795be149ccfc4aaa88ef68b30f4c4bbe9 Mon Sep 17 00:00:00 2001 From: Stefano Cordio Date: Sun, 21 Jan 2024 18:37:35 +0100 Subject: [PATCH] Add integration tests with Spring Boot --- .github/workflows/integration-tests.yml | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/integration-tests.yml diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 00000000000..5139473fb92 --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -0,0 +1,36 @@ +name: Integration Tests + +on: [push, pull_request] + +env: + MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always + +jobs: + + spring-boot: + + name: Verify with Spring Boot + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '21' + + - name: Checkout AssertJ + uses: actions/checkout@v4 + with: + path: assertj + - name: Set AssertJ version + run: assertj/mvnw $MAVEN_ARGS -f assertj/pom.xml versions:set -DnewVersion=BUILD-SNAPSHOT + - name: Install AssertJ + run: assertj/mvnw $MAVEN_ARGS -f assertj/pom.xml install -DskipTests + + - name: Checkout Spring Boot + uses: actions/checkout@v4 + with: + repository: spring-projects/spring-boot + path: spring-boot + - name: Test Spring Boot + run: spring-boot/gradlew -p spring-boot -PassertjVersion=BUILD-SNAPSHOT build