Skip to content

Commit 319256b

Browse files
committed
Update sonarqube.yml
1 parent 8fe3511 commit 319256b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/sonarqube.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
distribution: temurin
4545
java-version: '21'
4646

47+
- name: Run tests with coverage
48+
run: |
49+
pytest --cov=src/sysmlv2_client --cov-report=xml:coverage.xml
50+
4751
- name: SonarQube Scan
4852
uses: SonarSource/sonarqube-scan-action@v6
4953
with:
@@ -53,8 +57,3 @@ jobs:
5357
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5458
SONAR_SCANNER_SKIP_JRE_PROVISIONING: "true"
5559

56-
- name: Run tests with coverage
57-
run: |
58-
coverage run -m pytest
59-
coverage xml -o coverage.xml
60-

0 commit comments

Comments
 (0)