Skip to content

Commit 54451a5

Browse files
committed
Configured sonar with config file
1 parent 5508237 commit 54451a5

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/lint-and-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,3 @@ jobs:
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
69-
with:
70-
args:
71-
-Dsonar.projectKey=sergioteula_python-amazon-paapi
72-
-Dsonar.organization=sergioteula
73-
-Dsonar.sources=amazon_paapi/
74-
-Dsonar.tests=tests/

sonar-project.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sonar.organization=sergioteula
2+
sonar.projectKey=sergioteula_python-amazon-paapi
3+
4+
sonar.exclusions=**/sdk/**, docs/**
5+
sonar.coverage.exclusions=tests/**,docs/**,**/sdk/**,examples/**
6+
sonar.tests=tests/
7+
sonar.python.coverage.reportPath=coverage.xml

0 commit comments

Comments
 (0)