Skip to content

Update build.gradle #10

Update build.gradle

Update build.gradle #10

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Push Test Coverage to SonarCloud
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "1"
- uses: actions/setup-java@v1
with:
java-version: "11"
- run: chmod +x gradlew
- run: ./gradlew test jacocoTestReport sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}