We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d26a9 commit b70b7a1Copy full SHA for b70b7a1
1 file changed
.github/workflows/lint-and-test.yml
@@ -3,6 +3,9 @@ name: Lint and test
3
on:
4
push:
5
6
+permissions:
7
+ pull-requests: read
8
+
9
jobs:
10
11
isort:
@@ -52,3 +55,18 @@ jobs:
52
55
uses: actions/checkout@v2
53
56
- name: Check code errors
54
57
run: ./scripts/check_pylint
58
59
+ sonar:
60
+ runs-on: ubuntu-latest
61
+ steps:
62
+ - name: Analyze with SonarCloud
63
+ uses: SonarSource/sonarcloud-github-action
64
+ env:
65
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
67
+ with:
68
+ args:
69
+ -Dsonar.projectKey=sergioteula_python-amazon-paapi
70
+ -Dsonar.organization=sergioteula
71
+ -Dsonar.sources=amazon_paapi
72
+ -Dsonar.tests=tests
0 commit comments