Add configuration for sonarcloud.io according to https://github.com/SonarSource/sonarcloud-github-action

master
baztian 2020-06-17 21:32:42 +02:00
parent e660da8e2f
commit af47f07011
2 changed files with 11 additions and 0 deletions

View File

@ -44,3 +44,8 @@ jobs:
- name: Test with tox for non Jython only
if: ${{ ! matrix.jython }}
run: tox
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View File

@ -0,0 +1,6 @@
sonar.organization=baztian
sonar.projectKey=baztian_jaydebeapi
# relative paths to source directories. More details and properties are described
# in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/
sonar.sources=.