mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated .gitlab-ci.yml file
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
421a03a62a
commit
ebf74b3e4f
2 changed files with 2 additions and 18 deletions
|
@ -6,15 +6,6 @@ before_script:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- Static Analysis
|
- Static Analysis
|
||||||
- Test
|
|
||||||
|
|
||||||
mypy:
|
|
||||||
stage: Static Analysis
|
|
||||||
script:
|
|
||||||
- pwd
|
|
||||||
- ls -l
|
|
||||||
- python -m mypy bild/file.py
|
|
||||||
- python -m mypy bild/directory.py
|
|
||||||
|
|
||||||
flake8:
|
flake8:
|
||||||
stage: Static Analysis
|
stage: Static Analysis
|
||||||
|
@ -26,12 +17,3 @@ pylint:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- pylint -d C0301 bild/*.py
|
- pylint -d C0301 bild/*.py
|
||||||
|
|
||||||
unit_test:
|
|
||||||
stage: Test
|
|
||||||
script:
|
|
||||||
- pwd
|
|
||||||
- ls -l
|
|
||||||
- export PYTHONPATH="$PYTHONPATH:."
|
|
||||||
- python -c "import sys;print(sys.path)"
|
|
||||||
- pytest
|
|
|
@ -12,3 +12,5 @@
|
||||||
# python3-pythondialog >= 3.5.0 (Python interface to the UNIX dialog utility)
|
# python3-pythondialog >= 3.5.0 (Python interface to the UNIX dialog utility)
|
||||||
|
|
||||||
urllib3 >= 1.25.7
|
urllib3 >= 1.25.7
|
||||||
|
flake8 >= 3.5.0
|
||||||
|
pylint >= 2.4.4
|
Loading…
Add table
Reference in a new issue