From 6a21159c70b89943c1c45e9233a746173d89878c Mon Sep 17 00:00:00 2001 From: Tomasz Strzelecki Date: Mon, 21 Oct 2024 15:57:37 +0200 Subject: [PATCH] Update Coveralls analysis --- .github/workflows/build.yml | 3 +-- README.md | 4 +++- pom.xml | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d7b039..2dee3f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,5 +41,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - mvn clean package \ - org.jacoco:jacoco-maven-plugin:report + mvn clean package jacoco:report coveralls:report diff --git a/README.md b/README.md index 467fb81..7447050 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ [](http://www.vml.com/poland) -![Builds Status](https://github.com/wttech/AEM-Rules-for-SonarQube/actions/workflows/build.yml/badge.svg) [Available in SonarCloud](https://sonarcloud.io) +![Builds Status](https://github.com/wttech/AEM-Rules-for-SonarQube/actions/workflows/build.yml/badge.svg) +[![Coverage Status](https://coveralls.io/repos/github/Cognifide/AEM-Rules-for-SonarQube/badge.svg?branch=master)](https://coveralls.io/github/Cognifide/AEM-Rules-for-SonarQube?branch=master) +[Available in SonarCloud](https://sonarcloud.io) [Available in SonarQube](https://www.sonarqube.org/) # About AEM Rules for SonarQube diff --git a/pom.xml b/pom.xml index 7b61323..6514aa1 100644 --- a/pom.xml +++ b/pom.xml @@ -413,6 +413,27 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + prepare-agent + + prepare-agent + + + + + + com.github.hazendaz.maven + coveralls-maven-plugin + 4.5.0-M2 + + ${coveralls.repo.token} + + org.apache.maven.plugins maven-resources-plugin