mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-07 14:58:56 +00:00
fix: use bash for pip-audit step
This commit is contained in:
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -26,9 +26,8 @@ jobs:
|
||||
run: poetry run black --check .
|
||||
- name: Run security audit
|
||||
run: |
|
||||
if ! poetry run pip-audit; then
|
||||
echo "::warning::pip-audit found vulnerabilities"
|
||||
fi
|
||||
poetry run pip-audit || echo "::warning::pip-audit found vulnerabilities"
|
||||
shell: bash
|
||||
- name: Run tests with coverage
|
||||
run: |
|
||||
poetry run coverage run -m pytest
|
||||
|
Reference in New Issue
Block a user