Skip to content

Commit 2f0a391

Browse files
committed
Add codecov reporting
1 parent f8a2549 commit 2f0a391

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/build-external.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ jobs:
2626
${{ runner.os }}-
2727
- name: Run maven build
2828
run: mvn install -PprettierCheck -Dprettier.nodePath=node -Dprettier.npmPath=npm
29+
- name: codecov
30+
uses: codecov/codecov-action@v5
31+
with:
32+
files: ./**/target/site/jacoco/jacoco.xml

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
-Dsonar.projectName=${SONAR_PROJECT_NAME} \
4747
-Dsonar.host.url=https://sonarcloud.io \
4848
-Dsonar.token=${SONAR_TOKEN}
49+
- name: codecov
50+
uses: codecov/codecov-action@v5
51+
with:
52+
files: ./**/target/site/jacoco/jacoco.xml
4953
- name: Upload artifact
5054
uses: actions/[email protected]
5155
with:

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
-Dsonar.projectName=${SONAR_PROJECT_NAME} \
5757
-Dsonar.host.url=https://sonarcloud.io \
5858
-Dsonar.token=${SONAR_TOKEN}
59+
- name: codecov
60+
uses: codecov/codecov-action@v5
61+
with:
62+
files: ./**/target/site/jacoco/jacoco.xml
5963
- name: Upload artifact
6064
uses: actions/[email protected]
6165
with:

0 commit comments

Comments
 (0)