mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 15:28:44 +00:00
ci: treat pip-audit findings as warnings
This commit is contained in:
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -25,7 +25,10 @@ jobs:
|
|||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: poetry run black --check .
|
run: poetry run black --check .
|
||||||
- name: Run security audit
|
- 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
|
- name: Run tests with coverage
|
||||||
run: |
|
run: |
|
||||||
poetry run coverage run -m pytest
|
poetry run coverage run -m pytest
|
||||||
|
Reference in New Issue
Block a user