Skip to content

Commit

Permalink
Add simple github workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Jan 23, 2024
1 parent 893f26e commit d9f7f2a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/TEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: TEST

on:
push:
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: Start gradle, run: ./gradlew jvmTest }

0 comments on commit d9f7f2a

Please sign in to comment.