Skip to content

Clean comments

Clean comments #20

Workflow file for this run

name: CI
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main"]
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check formatting
run: ./gradlew spotlessCheck
- name: Run unit tests
run: ./gradlew test
- name: Run integration tests
run: ./gradlew integrationTest
- name: Build
run: ./gradlew build -x test -x integrationTest
- name: Upload test reports on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-reports
path: "**/build/reports/tests/"
retention-days: 7