Skip to content

Commit 5df9381

Browse files
committed
run sonarqube after tests
1 parent 498bfc1 commit 5df9381

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/run_tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@ jobs:
3535
--cov-report=term-missing \
3636
--cov-report=xml # <-- this line generates coverage.xml
3737
38+
- name: SonarCloud Scan
39+
uses: SonarSource/sonarcloud-github-action@v2
40+
with:
41+
args: >
42+
-Dsonar.python.coverage.reportPaths=coverage.xml
43+
env:
44+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
45+
3846

0 commit comments

Comments
 (0)