Skip to content

Commit 7da34ff

Browse files
authored
Update code coverage with jacoco
1 parent b87bd4c commit 7da34ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ jobs:
114114
tar xf /tmp/apache-maven-3.6.3-bin.tar.gz -C /opt
115115
echo "${M2_HOME}/bin" >> $GITHUB_PATH
116116
117-
- name: Run cobertura
117+
- name: Run jacoco
118118
shell: bash
119119
run: |
120-
mvn cobertura:cobertura -Dcobertura.report.format=xml -B
120+
mvn -V -B -U clean test jacoco:report -Dformats=xml
121121
122122
# Generating test coverage report and publishing to Codacy
123123
- name: Run report coverage
124124
uses: codacy/codacy-coverage-reporter-action@v1
125125
with:
126126
project-token: 571cdd20d4bf435f84b25d806d304792
127-
coverage-reports: target/site/cobertura/coverage.xml
127+
coverage-reports: target/jacoco/jacoco.xml

0 commit comments

Comments
 (0)