diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dceb046967f..eb4a5cb93df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,12 +20,38 @@ jobs: run: ./gradlew distForLauncher - name: Unit Tests run: ./gradlew unitTest - - name: Integration Tests - run: ./gradlew integrationTest - - name: Static Code Analysis - run: ./gradlew check -x test - name: API Documentation run: ./gradlew javadoc - name: Publish run: echo "TODO" - + integration-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Integration Tests + run: ./gradlew integrationTest + code-analysis: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Static Code Analysis + run: ./gradlew check -x test + \ No newline at end of file