From 3b52eec1453d9fe396beaf8f641d173982e4176e Mon Sep 17 00:00:00 2001 From: Andy Galkin Date: Thu, 14 Nov 2019 09:51:03 -0800 Subject: [PATCH 1/2] Added github action to build and run tests --- .github/workflows/gradle.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000000..499c119b29 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,17 @@ +name: Java CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 1.12 + uses: actions/setup-java@v1 + with: + java-version: 1.12 + - name: Build with Gradle + run: ./gradlew build From d5186c9d0b9b7360b0eaa2e3392f6fe90daafac4 Mon Sep 17 00:00:00 2001 From: Andy Galkin Date: Thu, 14 Nov 2019 10:03:47 -0800 Subject: [PATCH 2/2] Added run request on pull --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 499c119b29..c5ebe70ed9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,6 +1,6 @@ name: Java CI -on: [push] +on: [push, pull_request] jobs: build: