Configure cluster tests to run in jdk 11
-name: Cluster tests ( openjdk8 & mysql )
+name: Cluster tests ( openjdk11 & mysql )
on: [push, pull_request]
@@ -16,10 +16,16 @@ jobs:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- - name: Set up JDK 1.8
- uses: joschi/setup-jdk@v1
- with:
- java-version: openjdk8
- uses: actions/checkout@v1
- - name: Cluster tests
- run: mvn -B clean install --file pom.xml -P cluster-tests
+ - name: Set up JDK 8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Build in jdk8
+ run: mvn -B clean install -DskipTests --file pom.xml
+ - name: Set up JDK 11
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.11
+ - name: Cluster Tests
+ run: mvn -B clean install --file integration/pom.xml -P cluster-tests
