Skip to content

Fix 'gradlew build' #24

Fix 'gradlew build'

Fix 'gradlew build' #24

Workflow file for this run

name: Test
on: [push, workflow_dispatch]
jobs:
build:
name: Test
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Make gradlew executable
run: chmod +x gradlew
- name: Run tests with Gradle wrapper
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: ./gradlew test jacocoTestReport sonar --no-daemon --continue --info