File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: Test
22
33on :
44 push :
5+ branches :
6+ - main
7+ pull_request :
8+ types : [opened, synchronize, reopened]
59
610jobs :
711 pytest :
6367 flags : unittests
6468 fail_ci_if_error : true
6569 verbose : true
70+ sonarcloud :
71+ name : SonarCloud
72+ runs-on : ubuntu-latest
73+ steps :
74+ - uses : actions/checkout@v3
75+ with :
76+ fetch-depth : 0
77+ - name : SonarCloud Scan
78+ uses : SonarSource/sonarcloud-github-action@master
79+ env :
80+ GITHUB_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
81+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 66if TYPE_CHECKING :
77 from .connection import Connection
88
9- __version__ : str = "0.6.1 "
9+ __version__ : str = "0.6.2 "
1010
1111# Globals https://www.python.org/dev/peps/pep-0249/#globals
1212apilevel : str = "2.0"
Original file line number Diff line number Diff line change 1+ sonar.projectKey =passren_PyDynamoDB
2+ sonar.organization =passren
3+
4+ # This is the name and version displayed in the SonarCloud UI.
5+ sonar.projectName =PyDynamoDB
6+ sonar.projectVersion =0.6.*
7+
8+
9+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
10+ sonar.sources =./pydynamodb
11+
12+ # Encoding of the source code. Default is default system encoding
13+ sonar.sourceEncoding =UTF-8
You can’t perform that action at this time.
0 commit comments