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