feat: new endpoint for seeing remainnig screentime, test integration #8

Merged
DrunkenPinguin merged 8 commits from feat/add-new-endpoint-for-sreentime into main 2026-09-14 08:15:26 +00:00
Showing only changes of commit 3ff53a43e7 - Show all commits

33
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Code auschecken
uses: actions/checkout@v4
- name: Java 21 einrichten
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Gradle Rechte vergeben
run: chmod +x gradlew
- name: 1. Code-Style (Linter) prüfen
run: ./gradlew ktlintCheck
- name: 2. Tests ausführen
run: ./gradlew test
- name: 3. Backend bauen
run: ./gradlew build -x test