File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ sonar.projectKey =spicecodecli_spicecode
2+ sonar.organization =spicecodecli
3+
4+
5+ # This is the name and version displayed in the SonarCloud UI.
6+ # sonar.projectName=spicecode
7+ # sonar.projectVersion=1.0
8+
9+
10+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
11+ # sonar.sources=.
12+
13+ # Encoding of the source code. Default is default system encoding
14+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments