Skip to content

Commit

Permalink
chore: add sonar scan
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jul 28, 2023
1 parent c98cfd7 commit 5af2dc6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ jobs:
files: ./coverage.xml
flags: unittests
name: GitHub

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

html_title = "joserfc"

# templates_path = ["_templates"]
html_static_path = ["_static"]
html_css_files = [
'custom.css',
Expand Down
9 changes: 9 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sonar.projectKey=authlib_joserfc
sonar.organization=authlib

sonar.sources=src
sonar.sourceEncoding=UTF-8
sonar.test.inclusions=tests/**/test_*.py

sonar.python.version=3.8, 3.9, 3.10, 3.11
sonar.python.coverage.reportPaths=coverage.xml

0 comments on commit 5af2dc6

Please sign in to comment.