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 17c12c1 commit 5511dfa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ jobs:
pip install --break-system-packages target/wheels/iroha-*.whl &&
python -m pytest tests/"
- name: Sonar tests
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 hyperledger-iroha:iroha-python -r n --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" > pylint-report.txt
run: bash -c " pip install pytest pylint bandit &&
python -m pytest --cov=hyperledger-iroha:iroha-python --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/"
- name: SonarQube
uses: sonarsource/sonarqube-scan-action@master
env:
Expand Down

0 comments on commit 5511dfa

Please sign in to comment.