Skip to content

Commit

Permalink
ci: try pysonar 1
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 6, 2024
1 parent 90ed311 commit 51afe84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: pip install poetry tomli-w pysonar-scanner
run: pip install poetry tomli-w
# - name: Checkout irohad repo code
# run: git clone --depth 1 https://github.com/hyperledger-iroha/iroha.git -b 2.0.0-rc.1 iroha_daemon
# - name: Install correct rust version
Expand All @@ -45,6 +45,8 @@ jobs:
# pip install --break-system-packages target/wheels/iroha-*.whl &&
# python -m pytest tests/"
- name: Sonarqube
run: pysonar-scanner -Dsonar.login=${{ secrets.SONAR_TOKEN }}
run: |
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pysonar-scanner
pysonar-scanner -Dsonar.login=${{ secrets.SONAR_TOKEN }}
# - name: Tear down the network
# run: cd iroha_daemon && scripts/test_env.py cleanup

0 comments on commit 51afe84

Please sign in to comment.