Skip to content

Commit 2c2fb7b

Browse files
committed
Add sonarcloud config
1 parent fe2fb1c commit 2c2fb7b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python -m pip install .[dev]
3333
- name: Test with pytest
3434
run: |
35-
pytest --cov=objdictgen --cov-report=xml -p no:logging --tb=no
35+
pytest --cov=objdictgen --cov-report=xml --cov-branch -p no:logging --tb=no
3636
- name: Upload coverage reports to Codecov
3737
uses: codecov/[email protected]
3838
with:

sonar-project.properties

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sonar.projectKey=Laerdal_python-objdictgen
2+
sonar.organization=laerdal-foss
3+
sonar.python.coverage.reportPaths=coverage.xml

0 commit comments

Comments
 (0)