We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d29993 commit db8d8deCopy full SHA for db8d8de
.github/workflows/test.yml
@@ -40,10 +40,10 @@ jobs:
40
- name: Install dependencies
41
run: |
42
pip install .
43
- pip install pytest
+ pip install pytest pytest-cov
44
- name: Run tests
45
46
- pytest
+ pytest --cov=dsp --cov-report xml:coverage.xml
47
48
- name: SonarCloud Scan
49
uses: SonarSource/sonarcloud-github-action@master
sonar-project.properties
@@ -1,4 +1,5 @@
1
sonar.projectKey=dsp
2
sonar.organization=cvxgrp
3
sonar.sources=dsp
4
-sonar.language=py
+sonar.language=py
5
+sonar.python.coverage.reportPaths=coverage.xml
0 commit comments