Skip to content

Commit dc7d214

Browse files
committed
add bandit
Signed-off-by: BAStos525 <[email protected]>
1 parent 5fd1055 commit dc7d214

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pr-pytests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
python -m venv .venv &&
4343
source .venv/bin/activate &&
4444
pip install pytest faker allure-pytest pytest-cov bandit pylint &&
45-
pip install --break-system-packages target/wheels/iroha-*.whl
46-
python -m pytest --cov=. --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/ &&
47-
bandit --format json --output bandit-report.json --recursive tests/"
45+
pip install --break-system-packages target/wheels/iroha-*.whl &&
46+
bandit --format json --output bandit-report.json --recursive tests/ &&
47+
python -m pytest --cov=. --cov-report xml:coverage-reports/coverage-iroha-python.xml tests/"
48+
4849
- name: SonarQube
4950
uses: sonarsource/sonarqube-scan-action@master
5051
env:

0 commit comments

Comments
 (0)