Skip to content

Merge pull request #2 from MEITREX/upgrade-java-and-name #1

Merge pull request #2 from MEITREX/upgrade-java-and-name

Merge pull request #2 from MEITREX/upgrade-java-and-name #1

Workflow file for this run

name: Testing CI pipeline
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Run chmod to make gradlew executable
run: chmod +x gradlew
- name: Run tests
uses: gradle/gradle-build-action@v3
with:
arguments: cleanTest test
# Configuration for SonarCloud, enable this when SonarCloud is configured
# - name: Execute tests
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# uses: gradle/gradle-build-action@v3
# with:
# arguments: cleanTest test jacocoTestReport sonar