Merge pull request #3674 from wso2/Bhashinee-patch-1 #3827
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cluster tests (JDK17 & MySQL) | |
on: [push, pull_request] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up MySQL | |
run: | | |
sudo /etc/init.d/mysql start | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
distribution: 'temurin' | |
java-version: '11.0.12+7' | |
- name: Build in JDK 11 | |
run: mvn -B clean install -DskipTests --file pom.xml | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17.0.6' | |
- name: Cluster Tests | |
run: mvn -B clean install --file integration/pom.xml -P cluster-tests |