Skip to content

bump: GitHub Actions JDK 8 to 17; #23

bump: GitHub Actions JDK 8 to 17;

bump: GitHub Actions JDK 8 to 17; #23

Workflow file for this run

name: Run gradle tests
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run all tests headless
uses: GabrielBB/xvfb-action@v1
with:
run: ./gradlew test
env:
MCIGT_HAS_DISPLAY: true