|
@@ -37,9 +37,10 @@ tests_3.6:
|
|
|
- python -V
|
|
|
- python -m venv env
|
|
|
- source env/bin/activate
|
|
|
- - pip install coverage
|
|
|
+ - pip install coverage pylint
|
|
|
script:
|
|
|
- coverage run --source=pycs/ -m unittest discover test/
|
|
|
+ - pylint pycs --fail-under=5
|
|
|
|
|
|
tests_3.7:
|
|
|
stage: test
|
|
@@ -57,9 +58,10 @@ tests_3.7:
|
|
|
- python -V
|
|
|
- python -m venv env
|
|
|
- source env/bin/activate
|
|
|
- - pip install coverage
|
|
|
+ - pip install coverage pylint
|
|
|
script:
|
|
|
- coverage run --source=pycs/ -m unittest discover test/
|
|
|
+ - pylint pycs --fail-under=5
|
|
|
|
|
|
tests_3.8:
|
|
|
stage: test
|
|
@@ -77,9 +79,10 @@ tests_3.8:
|
|
|
- python -V
|
|
|
- python -m venv env
|
|
|
- source env/bin/activate
|
|
|
- - pip install coverage
|
|
|
+ - pip install coverage pylint
|
|
|
script:
|
|
|
- coverage run --source=pycs/ -m unittest discover test/
|
|
|
+ - pylint pycs --fail-under=5
|
|
|
|
|
|
tests_3.9:
|
|
|
stage: test
|
|
@@ -95,10 +98,11 @@ tests_3.9:
|
|
|
- python -V
|
|
|
- python -m venv env
|
|
|
- source env/bin/activate
|
|
|
- - pip install coverage
|
|
|
+ - pip install coverage pylint
|
|
|
script:
|
|
|
- coverage run --source=pycs/ -m unittest discover test/
|
|
|
- coverage report -m
|
|
|
+ - pylint pycs --fail-under=5
|
|
|
|
|
|
tests_3.10:
|
|
|
stage: test
|
|
@@ -117,9 +121,10 @@ tests_3.10:
|
|
|
- python -V
|
|
|
- python -m venv env
|
|
|
- source env/bin/activate
|
|
|
- - pip install coverage
|
|
|
+ - pip install coverage pylint
|
|
|
script:
|
|
|
- coverage run --source=pycs/ -m unittest discover test/
|
|
|
+ - pylint pycs --fail-under=5
|
|
|
|
|
|
|
|
|
bundle:
|