Update ci-python-poetry.yml
This commit is contained in:
parent
564b69c90c
commit
5a06bc674f
4
.github/workflows/ci-python-poetry.yml
vendored
4
.github/workflows/ci-python-poetry.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user