From 5042d360e657848d51f2e91558c4bbfe9e09cbd5 Mon Sep 17 00:00:00 2001 From: PhilippSchmelter Date: Thu, 17 Oct 2024 13:35:50 +0200 Subject: [PATCH] Added dependencie to sonarqube.gradle and changed workflow --- .github/workflows/ci.yml | 2 +- gradle/scripts/sonarqube.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6546cba77a..a36d1ed2dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: - name: Run Tests run: | - ./gradlew --refresh-dependencies spotlessCheck pmdMain pmdTest test + ./gradlew --refresh-dependencies spotlessCheck pmdMain pmdTest - name: Build Java-Docs run: | diff --git a/gradle/scripts/sonarqube.gradle b/gradle/scripts/sonarqube.gradle index 29a4bcc28a..501bbbdc72 100644 --- a/gradle/scripts/sonarqube.gradle +++ b/gradle/scripts/sonarqube.gradle @@ -34,5 +34,6 @@ sonarqube { } // sonarqube task dependencies +project.tasks["sonarqube"].dependsOn "test" project.tasks["sonarqube"].dependsOn "reportScoverage" project.tasks["sonarqube"].dependsOn "checkScoverage"