We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20144bc commit cd47d90Copy full SHA for cd47d90
.github/workflows/pr-tests.yml
@@ -37,4 +37,11 @@ jobs:
37
run: pip install -r requirements.txt
38
39
- name: Run pylint
40
- run: pylint stackhpc_openstack_tests/*.py
+ run: |
41
+ set +e # disabling exit on non-zero error code so can output warnings without failing
42
+ pylint stackhpc_openstack_tests/*.py
43
+ EXIT_CODE=$?
44
+ set -e
45
+ if [[ $(($EXIT_CODE & 3)) > 0 ]] then #bitwise check for pylint exit coeds which indicate errors
46
+ exit 1
47
+ fi
0 commit comments