Temp #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Initialize Gradle, run: ./gradlew } | |
| - { name: Gradle Test JVM, run: ./gradlew jvmTest } | |
| - { name: Gradle Test JS, run: ./gradlew jsTest } | |
| #- { name: Gradle Sonarqube, run: ./gradlew sonarqube, if: false } |