Skip to content

Commit

Permalink
ci: try sonar-scanner
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 committed Nov 8, 2024
1 parent d51d901 commit a50c6cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
source .venv/bin/activate &&
pip install pytest faker allure-pytest pytest-cov bandit pylint &&
pip install --break-system-packages target/wheels/iroha-*.whl &&
python -m pytest --cov=*.py --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/ &&
bandit --format json --output bandit-report.json --recursive *.py &&
pylint *.py -r n > pylint-report.txt"
python -m pytest --cov=docs-recipes/,examples/,tests/ --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/ &&
bandit --format json --output bandit-report.json --recursive tests/ &&
pylint tests/ -r n > pylint-report.txt"
- name: SonarQube
uses: sonarsource/sonarqube-scan-action@master
env:
Expand Down

0 comments on commit a50c6cd

Please sign in to comment.