From 690755a26c055032a3393dd35b94cecd3ebbe0ee Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 21 Nov 2024 22:01:08 +0000 Subject: [PATCH] Update ci-python-with-docker.yml --- .github/workflows/ci-python-with-docker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-python-with-docker.yml b/.github/workflows/ci-python-with-docker.yml index 359ff87..6262bf1 100644 --- a/.github/workflows/ci-python-with-docker.yml +++ b/.github/workflows/ci-python-with-docker.yml @@ -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: