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: