We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7020b05 commit 88248b0Copy full SHA for 88248b0
1 file changed
.github/workflows/python-ci.yml
@@ -39,7 +39,7 @@ jobs:
39
run: |
40
python -m pip install --upgrade pip
41
pip install -r requirements.txt
42
- pip install flake8 black pytest pytest-cov snyk-python
+ pip install flake8 black pytest pytest-cov
43
44
- name: Lint with flake8
45
@@ -58,11 +58,12 @@ jobs:
58
pytest --cov=app --cov-report=term-missing -v
59
60
- name: Security scan with Snyk
61
+ uses: snyk/actions/python@master
62
+ continue-on-error: true
63
env:
64
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- run: |
- echo "Running Snyk security scan..."
65
- snyk test --severity-threshold=high --file=requirements.txt || echo "Snyk scan completed (warnings only)"
+ with:
66
+ args: --severity-threshold=high --file=requirements.txt
67
68
docker-build-and-push:
69
name: Docker Build & Push
0 commit comments