Skip to content

Commit 5508237

Browse files
committed
Added checkout for sonar
1 parent 12d81d5 commit 5508237

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ jobs:
5959
sonar:
6060
runs-on: ubuntu-latest
6161
steps:
62-
- name: SonarCloud Scan
62+
- name: Check out code
63+
uses: actions/checkout@v2
64+
- name: Check code errors
6365
uses: SonarSource/sonarcloud-github-action@v1.7
6466
env:
6567
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -68,3 +70,5 @@ jobs:
6870
args:
6971
-Dsonar.projectKey=sergioteula_python-amazon-paapi
7072
-Dsonar.organization=sergioteula
73+
-Dsonar.sources=amazon_paapi/
74+
-Dsonar.tests=tests/

0 commit comments

Comments
 (0)