ci: treat pip-audit findings as warnings

This commit is contained in:
thePR0M3TH3AN
2025-08-06 17:14:19 -04:00
parent fd419fb943
commit 54314cc5b3

View File

@@ -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