Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
  • Loading branch information
skeppter committed Jan 15, 2025
1 parent 5bf3498 commit 0e58860
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Java Testing

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
# Schritt 1: Code auschecken
- name: Check out code
uses: actions/checkout@v3

# Schritt 2: JDK 20 (Corretto) einrichten
- name: Set up JDK 20
uses: actions/setup-java@v3
with:
java-version: '20'
distribution: 'corretto'

# Schritt 3: Gradle ausführen und Tests ausführen
- name: Build and test with Gradle
run: |
./gradlew clean test

0 comments on commit 0e58860

Please sign in to comment.