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 1825e64 commit 98c1c5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
cd iroha_daemon && scripts/test_env.py setup && cd .. &&
python -m venv .venv &&
source .venv/bin/activate &&
pip install pytest pylint bandit faker allure-pytest &&
pip install pytest faker allure-pytest &&
pip install --break-system-packages target/wheels/iroha-*.whl &&
python -m pytest tests/"
- name: Sonar tests
run: |
bandit --format json --output bandit-report.json --recursive hyperledger-iroha:iroha-python &&
pip install pytest pylint bandit
bandit --format json --output bandit-report.json --recursive hyperledger-iroha:iroha-python
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
- name: SonarQube
Expand Down

0 comments on commit 98c1c5e

Please sign in to comment.