From 5a06bc674fc3fa2e12387664fbbf131704ce9df5 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 21 Nov 2024 22:00:41 +0000 Subject: [PATCH] Update ci-python-poetry.yml --- .github/workflows/ci-python-poetry.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-python-poetry.yml b/.github/workflows/ci-python-poetry.yml index 3b18150..25eaa5b 100644 --- a/.github/workflows/ci-python-poetry.yml +++ b/.github/workflows/ci-python-poetry.yml @@ -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: