Skip to content

Add fast compilation and jvmTest check for PRs #1

Add fast compilation and jvmTest check for PRs

Add fast compilation and jvmTest check for PRs #1

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Compile
run: ./gradlew assemble
test:
runs-on: ubuntu-latest
needs: compile
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run jvmTest
run: ./gradlew jvmTest