Skip to content

Commit

Permalink
ci: try sonar-scanner
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
  • Loading branch information
BAStos525 committed Nov 8, 2024
1 parent d67c514 commit 17c12c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
pip install pytest pylint bandit
python -m pytest --cov=hyperledger-iroha:iroha-python --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/
pylint my_library -r n > pylint-report.txt
pylint hyperledger-iroha:iroha-python -r n --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" > pylint-report.txt
- name: SonarQube
uses: sonarsource/sonarqube-scan-action@master
env:
Expand Down
1 change: 0 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sonar.projectKey = hyperledger-iroha:iroha-python
sonar.language = py
sonar.python.bandit.reportPaths = bandit-report.json
sonar.python.pylint.reportPath = pylint-report.txt

0 comments on commit 17c12c1

Please sign in to comment.