mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-30 01:12:17 +00:00
ci: treat pip-audit findings as warnings
This commit is contained in:
1 parent
fd419fb943
commit
54314cc5b3
1 file changed
+4
-1
@@ -25,7 +25,10 @@ jobs:
|
||||
- name: Check formatting
|
||||
run: poetry run black --check .
|
||||
- name: Run security audit
|
||||
run: poetry run pip-audit
|
||||
run: |
|
||||
if ! poetry run pip-audit; then
|
||||
echo "::warning::pip-audit found vulnerabilities"
|
||||
fi
|
||||
- name: Run tests with coverage
|
||||
run: |
|
||||
poetry run coverage run -m pytest
|
||||
|
||||
Reference in new issue
Block a user