mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 11:11:49 +02:00
ci: testing ci
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user