From cc45c56b9c857f87eb54ee17e74fae0d00d5e8ba Mon Sep 17 00:00:00 2001 From: PhilippSchmelter Date: Wed, 9 Oct 2024 13:15:50 +0200 Subject: [PATCH] Added Sonar --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0318519fa..2959b0c65b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,13 +53,15 @@ jobs: - name: Run Tests run: | - ./gradlew --refresh-dependencies spotlessCheck pmdMain pmdTest + ./gradlew --refresh-dependencies spotlessCheck pmdMain pmdTest test - name: Build Java-Docs run: | ./gradlew javadoc + + #ADD reportScoverageTask - name: Run SonarQube with Gradle - run: ./gradlew sonarqube -Dsonar.projectKey=edu.ie3:simona \ + run: ./gradlew reportScoverage sonarqube -Dsonar.projectKey=edu.ie3:simona \ -Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \ -Dsonar.login=${{ secrets.SONAR_TOKEN }} \ No newline at end of file