From 1cf095dc4cdac567dc751665742056c3c616b644 Mon Sep 17 00:00:00 2001 From: "Juan M. Tirado" Date: Fri, 17 May 2024 11:27:12 +0200 Subject: [PATCH] [PAN-1893] sonar analyzes python 312 (#20) * feature: use sonar cloud in separated workflow --- .github/workflows/ci.yaml | 1 + .github/workflows/sonar.yaml | 1 + sonar-project.properties | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5887f51..32816c9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,3 +9,4 @@ on: jobs: shared: uses: pantos-io/ci-workflows/.github/workflows/python-ci.yml@v1 + diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index a413ffc..45bd271 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -9,3 +9,4 @@ jobs: shared: uses: pantos-io/ci-workflows/.github/workflows/sonar.yml@v1 secrets: inherit + diff --git a/sonar-project.properties b/sonar-project.properties index 0641ba6..5bff7ce 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ sonar.projectKey=pantos-io_common sonar.projectName=common sonar.organization=pantos-io -sonar.python.coverage.reportPaths=coverage.xml +sonar.python.coverage.reportPaths=coverage-3.12.xml sonar.python.version=3.12 -sonar.coverage.exclusions=**/tests/** \ No newline at end of file +sonar.coverage.exclusions=**/tests/**