Skip to content

Commit

Permalink
feat: add coverage action
Browse files Browse the repository at this point in the history
Signed-off-by: charankamarapu <[email protected]>
  • Loading branch information
charankamarapu committed Apr 3, 2024
1 parent 925995e commit f349182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/covergae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
run: |
cd spring-petclinic/spring-petclinic-rest
mvn clean install -Dmaven.test.skip=true
sudo -E env PATH="$PATH" keploybin test -c "mvn test" --delay 30 --coverage
mvn test
- name: SonarQube Analysis
run: |
cd spring-petclinic/spring-petclinic-rest
mvn clean install -Dmaven.test.skip=true
sudo -E env PATH="$PATH" keploybin test -c "mvn verify sonar:sonar -Dsonar.projectKey=msil-test-new -Dsonar.coverage.jacoco.xmlReportPaths=target/site/e2e-ut-aggregate/jacoco.xml" --delay 30 --coverage
mvn verify sonar:sonar -Dsonar.projectKey=msil-test-new -Dsonar.coverage.jacoco.xmlReportPaths=target/site/e2e-ut-aggregate/jacoco.xml
# Add additional steps for coverage threshold enforcement if needed

0 comments on commit f349182

Please sign in to comment.