diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 3853361..00a7a9d 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -26,9 +26,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 @@ -45,7 +44,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: