Skip to content

Commit

Permalink
tweak coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed May 8, 2024
1 parent 41e54bd commit e6ab803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cd microservices/kubeApi
poetry install --no-root
ACCESS_USER=kubeuser ACCESS_SECRET=s3cret \
poetry run coverage run --branch --source=auth,clients,routers -m pytest -s
poetry run coverage run --branch --source=. -m pytest -s
poetry run coverage xml
- name: SonarCloud Scan
Expand Down
4 changes: 3 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ sonar.sources=microservices/gatewayApi/auth, \
microservices/gatewayApi/v1, \
microservices/gatewayApi/v2, \
microservices/gatewayJobScheduler, \
microservices/kubeApi
microservices/kubeApi, \
microservices/kubeApi/auth, \
microservices/kubeApi/clients

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

0 comments on commit e6ab803

Please sign in to comment.