Skip to content
Snippets Groups Projects
Commit cf288950 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

Update pylint.yml

parent 0c154619
Branches
Tags
No related merge requests found
...@@ -12,6 +12,12 @@ pylint: ...@@ -12,6 +12,12 @@ pylint:
- PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log) - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)
- anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
- echo "Pylint score is $PYLINT_SCORE" - echo "Pylint score is $PYLINT_SCORE"
only:
refs:
# run only when new tag is published or changes pushed to master
- tags
- master
artifacts: artifacts:
paths: paths:
- ./pylint/ - ./pylint/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment