Skip to content

Merge pull request #860 from Bram-Hub/auto-format-code-1727468924 #527

Merge pull request #860 from Bram-Hub/auto-format-code-1727468924

Merge pull request #860 from Bram-Hub/auto-format-code-1727468924 #527

Workflow file for this run

name: Run JUnit Tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
ubuntu-test:
runs-on: ubuntu-latest
steps:
- name: Check Out Code
uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -x test
- name: Run JUnit Tests on Linux
run: |
./gradlew test
test-macos:
runs-on: macos-latest
steps:
- name: Check Out Code
uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -x test
- name: Run JUnit Tests on macOS
run: |
./gradlew test
test-windows:
runs-on: windows-latest
steps:
- name: Check Out Code
uses: actions/checkout@v2
- name: Set up JDK and Gradle on Windows
uses: actions/setup-java@v2
with:
java-version: 21
distribution: temurin
- name: Run JUnit Tests on Windows
run: |
.\gradlew.bat test