Skip to content

Commit

Permalink
CI: Run unittests even if the pylint step has failed
Browse files Browse the repository at this point in the history
  • Loading branch information
lukash committed Oct 15, 2024
1 parent 17c6fd6 commit b8e9418
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
pip install pyyaml
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with pylint
id: pylint
run: |
python3 -m pylint --version
python3 -m pylint --persistent=n --jobs 0 --max-line-length=120 prusaerrors
- name: Test
# Run the step even if the pylint step has failed
if: success() || (failure() && steps.pylint.conclusion == 'failure')
run: |
export PATH="${PATH}:$(pwd)"
coverage run -m unittest discover --failfast --verbose tests
Expand Down

0 comments on commit b8e9418

Please sign in to comment.