Skip to content

fix: gradle publishing; #29

fix: gradle publishing;

fix: gradle publishing; #29

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 JDKs
uses: actions/setup-java@v4
with:
java-version: |
16
8
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run all tests headless
uses: GabrielBB/xvfb-action@v1
with:
run: ./gradlew test --info --stacktrace
env:
MCIGT_HAS_DISPLAY: true