Skip to content

Commit

Permalink
upd coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed May 9, 2024
1 parent 5e70870 commit c388913
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion microservices/kubeApi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pytest-mock = "^3.14.0"

[tool.coverage.run]
relative_files = true
source = [ "." ]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
3 changes: 0 additions & 3 deletions microservices/kubeApi/sonar.properties

This file was deleted.

17 changes: 1 addition & 16 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
sonar.organization=bcgov-oss
sonar.projectKey=gwa-api

#sonar.python.coverage.reportPaths=microservices/*/coverage.xml

# relative paths to source directories. More details and properties are described
# in https://docs.sonarsource.com/sonarcloud/advanced-setup/analysis-scope/
# sonar.sources=microservices/gatewayApi/auth, \
# microservices/gatewayApi/clients, \
# microservices/gatewayApi/tests, \
# microservices/gatewayApi/v1, \
# microservices/gatewayApi/v2, \
# microservices/gatewayJobScheduler, \
# microservices/kubeApi

#sonar.sources=microservices/kubeApi \

sonar.modules=kubeApi

kubeApi.sonar.projectBaseDir=microservices/kubeApi
kubeApi.sonar.sources=.
kubeApi.sonar.python.coverage.reportPaths=coverage.xml

#sonar.python.coverage.reportPaths=microservices/*/coverage.xml

0 comments on commit c388913

Please sign in to comment.