Skip to content

Commit

Permalink
exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Apr 12, 2024
1 parent 14005cf commit d795e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-python-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: 🔎 Check Static Code
working-directory: ${{ inputs.working-directory }}
run: pipenv run pylint --rcfile=${{ env.PYPROJECT_TOML }} $(git ls-files '${{ inputs.source-path }}/*.py')
run: if ! pipenv run pylint --rcfile=${{ env.PYPROJECT_TOML }} $(git ls-files '${{ inputs.source-path }}/*.py'); then exit 1; fi

- name: 🔎 Check Django Migrations
if: inputs.check-django-migrations
Expand Down

0 comments on commit d795e0e

Please sign in to comment.