Update ci-python-with-docker.yml

This commit is contained in:
Luke Tainton 2024-11-21 22:01:08 +00:00 committed by GitHub
parent 5a06bc674f
commit 690755a26c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,8 @@ jobs:
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pylint-exit
- name: Lint
run: pylint --recursive=yes --output-format=parseable --output=lintreport.txt . || pylint-exit $?
run: pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt .
- name: Unit Test
run: |
coverage run -m pytest -v --junitxml=testresults.xml
@ -51,7 +50,7 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
args: --sarif-file-output=snyk.sarif --all-projects
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with: