From 5280bf9a266e311f570827b00a4e5451f56acbb5 Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Wed, 3 Apr 2024 19:17:15 +0200 Subject: [PATCH] First try of adding integration with Codacy --- .github/workflows/gradle.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index dfa7acf0..2a463742 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -82,6 +82,13 @@ jobs: generate-branches-badge: true jacoco-csv-file: build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.csv + - name: Send Report to Codacy + env: + CODACY_PROJECT_TOKEN: ${{ secrets.FULMINAZZO_CODACY_TOKEN }} + run: |- + bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml + shell: bash + - name: Update and Push JaCoCo Badge run: |- git add .