Skip to content

Commit

Permalink
Add integration tests with Spring Boot
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Jan 21, 2024
1 parent d51cfd9 commit 1a9a205
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .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: '17'

- 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=0.0.0
- 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=0.0.0 build

0 comments on commit 1a9a205

Please sign in to comment.