Skip to content
Snippets Groups Projects
Commit 0aa5a19b authored by Mayr, Hannes's avatar Mayr, Hannes
Browse files

Fix anybadge command.

parent 766568fd
No related branches found
No related tags found
1 merge request!68Resolve "Upgrade pylint job"
Pipeline #912267 passed
This commit is part of merge request !68. Comments created here will be created in the context of that merge request.
...@@ -37,7 +37,7 @@ Pylint: ...@@ -37,7 +37,7 @@ Pylint:
- pylint --rcfile='plotid/.pylintrc' --output-format=pylint_gitlab.GitlabPagesHtmlReporter $(find -type f -name "*.py" ! -path "**/env*/**") > public/lint/index.html - pylint --rcfile='plotid/.pylintrc' --output-format=pylint_gitlab.GitlabPagesHtmlReporter $(find -type f -name "*.py" ! -path "**/env*/**") > public/lint/index.html
after_script: after_script:
- anybadge --overwrite --label $CI_JOB_NAME --value=$(cat public/badges/$CI_JOB_NAME.score) --file=public/badges/$CI_JOB_NAME.svg 4=red 6=orange 8=yellow 10=green - anybadge --overwrite --label $CI_JOB_NAME --value=$(cat public/badges/$CI_JOB_NAME.score) --file=public/badges/$CI_JOB_NAME.svg 4=red 6=orange 8=yellow 10=green
- anybadge --overwrite --label="code style" value=black --file=public/badges/code_style.svg --color=black - anybadge --overwrite --label="code style" --value=black --file=public/badges/code_style.svg --color=black
artifacts: artifacts:
paths: paths:
- public - public
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment