Skip to content

Merge pull request #223 from sp4ce-cowboy/UniCash-1.4/DGFinal #440

Merge pull request #223 from sp4ce-cowboy/UniCash-1.4/DGFinal

Merge pull request #223 from sp4ce-cowboy/UniCash-1.4/DGFinal #440

Workflow file for this run

name: Java Unit Tests
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up repository
uses: actions/checkout@master
- name: Set up repository
uses: actions/checkout@master
with:
ref: master
- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx
- name: Build and check with Gradle
run: ./gradlew check
- name: Run unit tests
run: ./gradlew test
- name: Run UI unit tests (on Windows only)
if: runner.os == 'Windows'
run: ./gradlew uiTest