Skip to content

Commit b82d5c4

Browse files
committed
add missing unitttest coverage
1 parent 146ec06 commit b82d5c4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/main-sonar-check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,11 @@ jobs:
4747
- name: Run Build and Tests with Coverage
4848
run: |
4949
mvn -T$(nproc) -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack
50+
- uses: codecov/codecov-action@v5
51+
with:
52+
files: ./client/target/site/jacoco-aggregate/jacoco.xml
53+
fail_ci_if_error: true
54+
flags: unittests
55+
verbose: true
56+
name: codecov
57+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/sonar-check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ jobs:
5151
HEADREF: ${{ github.event.pull_request.head.ref }}
5252
run: |
5353
mvn -T$(nproc) -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack -Dsonar.pullrequest.key="$PR_ID" -Dsonar.pullrequest.branch="$HEADREF" -Dsonar.pullrequest.github.repository=apache/cloudstack -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.summary_comment=true
54+
- uses: codecov/codecov-action@v5
55+
with:
56+
files: ./client/target/site/jacoco-aggregate/jacoco.xml
57+
fail_ci_if_error: true
58+
flags: unittests
59+
verbose: true
60+
name: codecov
61+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)