Skip to content
Snippets Groups Projects
Commit 5720a7df authored by František Řezníček's avatar František Řezníček
Browse files

Update file .gitlab-ci.yml

parent 2dacd4c7
No related branches found
No related tags found
No related merge requests found
Pipeline #404589 waiting for manual action with stages
in 15 seconds
......@@ -9,7 +9,7 @@ pylint:
before_script:
- python3 -m pip install -r ci/requirements.pip > pymodules-install.log
script:
- pylint --max-line-length 200 ci/*.py &> pylint.log
- pylint --exit-zero --max-line-length 200 ci/*.py &> pylint.log
- grep 'Your code has been rated' pylint.log
- rank=$(grep 'Your code has been rated' pylint.log | grep -Eo '[0-9]+(\.[0-9]+)?' | head -1)
- awk -v "rank=${rank}" -v "min_rank=8.0" 'BEGIN{ if(rank<min_rank){exit(126)} }'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment