From e6ab803f0599e4d9eaf791709827393455067aae Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Wed, 8 May 2024 15:17:59 -0700 Subject: [PATCH] tweak coverage --- .github/workflows/dev.yml | 2 +- sonar-project.properties | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index c7b0cc5..f1d8402 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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 diff --git a/sonar-project.properties b/sonar-project.properties index f25e97b..4817c95 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -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 \ No newline at end of file