File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ jobs:
4646 run : |
4747 poetry run -- coverage xml -o ci-coverage.xml --include="exasol/toolbox/*"
4848
49- - name : Upload to sonar
50- run : |
51- poetry run -- pysonar --sonar-token ${{ secrets.SONAR_TOKEN }} \
52- --sonar-pullrequest-branch ${{ github.ref_name }} \
53- --sonar-pullrequest-base main \
54- --sonar-pullrequest-key python-toolbox:${{ github.ref_name }} \
55- --sonar- python- coverage-report-paths ci-coverage.xml \
56- --sonar- python- pylint-report-path .lint.json \
57- --sonar- python- bandit-report-paths .security.json
49+ - name : SonarQube Scan
50+ uses : SonarSource/sonarqube-scan-action@v5
51+ env :
52+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
53+ with :
54+ args : >
55+ -Dsonar. python. coverage.reportPaths= ci-coverage.xml
56+ -Dsonar. python. pylint.reportPath .lint.json
57+ -Dsonar. python. bandit.reportPaths .security.json
5858
5959 - name : Upload Artifacts
6060
You can’t perform that action at this time.
0 commit comments