0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

ci: testing ci

This commit is contained in:
2023-07-11 18:06:55 +02:00
parent fc6382b8c7
commit 4250d47ff8

View File

@ -21,9 +21,9 @@ formatter:
pylint: pylint:
stage: Formatter stage: Formatter
needs: [] needs: []
before_script:
- pip install pylint pylint-exit anybadge
script: script:
- pip install pylint pylint-exit anybadge
- pip install -e .[dev]
- mkdir ./pylint - mkdir ./pylint
- pylint ./bec_widgets --output-format=text . | tee ./pylint/pylint.log || pylint-exit $? - pylint ./bec_widgets --output-format=text . | tee ./pylint/pylint.log || pylint-exit $?
- 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)