Skip to content

Feature/tests

Feature/tests #3

Workflow file for this run

name: Private Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- main
jobs:
gradle_check:
name: "Check on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Restore LFS Cache
uses: actions/cache@v2
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}
- name: Git LFS Pull
run: |
git lfs pull
git add .
git reset --hard
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Public Tests
run: ./gradlew clean graderPrivateRun --continue