Skip to content

Adds github workflows, fixes compilation and jvm version errors #6

Adds github workflows, fixes compilation and jvm version errors

Adds github workflows, fixes compilation and jvm version errors #6

Workflow file for this run

name: TEST
on:
push:
branches: [ "master", "main" ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CI: true
DISPLAY: ":99"
JAVA_VERSION: 11
JAVA_DISTRIBUTION: zulu
jobs:
test:
timeout-minutes: 25
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v3 }
- { name: Set up JDK, uses: actions/setup-java@v3, with: { distribution: "${{ env.JAVA_DISTRIBUTION }}", java-version: "${{ env.JAVA_VERSION }}" } }
- { name: Prepare Gradle, uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc } # v2.8.0
- { name: Gradle Test JVM, run: ./gradlew jvmTest }
- { name: Gradle Test JS, run: ./gradlew jsTest }
#- { name: Gradle Sonarqube, run: ./gradlew sonarqube, if: false }