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 5511dfa commit 144e714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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,10 +43,10 @@ jobs:
source .venv/bin/activate &&
pip install pytest faker allure-pytest &&
pip install --break-system-packages target/wheels/iroha-*.whl &&
python -m pytest tests/"
- name: Sonar tests
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: Sonar tests
# 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
1 change: 0 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sonar.projectKey = hyperledger-iroha:iroha-python
sonar.language = py
sonar.python.pylint.reportPath = pylint-report.txt

0 comments on commit 144e714

Please sign in to comment.