Update ci-python-poetry.yml

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

View File

@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Lint
run: poetry run pylint --recursive=yes --output-format=parseable --output=lintreport.txt . || pylint-exit $?
run: poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt .
- name: Unit Test
run: |
poetry run coverage run -m pytest -v --junitxml=testresults.xml
@ -41,7 +41,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: