diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d8c8d2cb..b478dbb3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -110,7 +110,7 @@ jobs: - name: Run sonarqube check uses: gradle/gradle-build-action@v2 with: - arguments: build -x test automatedTests jacocoTestReport sonarqube --info + arguments: build -x test automatedTests jacocoAutomatedTestReport sonarqube --info env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any \ No newline at end of file diff --git a/build.gradle b/build.gradle index 93be216b..656d16e7 100644 --- a/build.gradle +++ b/build.gradle @@ -113,9 +113,10 @@ sonarqube { } } -jacocoTestReport { +task jacocoAutomatedTestReport(type: JacocoReport) { + sourceSets sourceSets.main + executionData automatedTests reports { xml.enabled true } - dependsOn test } \ No newline at end of file