Run test suite with GitHub Actions #1
Workflow file for this run
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: Java CI with Gradle | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
linux-build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
- name: Run Gradle Build and Tests on Linux | |
run: | | |
./gradlew clean build test | |
windows-build-and-test: | |
runs-on: windows-latest | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
- name: Run Gradle Build and Tests on Windows | |
run: | | |
.\gradlew clean build test | |
macos-build-and-test: | |
runs-on: macos-latest | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
- name: Run Gradle Build and Tests on macOS | |
run: | | |
./gradlew clean build test |