|
@ -5,17 +5,9 @@ Atheneum:Tests: |
|
|
image: python:3.6-slim-stretch |
|
|
image: python:3.6-slim-stretch |
|
|
stage: test |
|
|
stage: test |
|
|
script: |
|
|
script: |
|
|
- python3 --version |
|
|
|
|
|
- python3 -m pip --version |
|
|
|
|
|
- python3 -m pip install pipenv |
|
|
- python3 -m pip install pipenv |
|
|
- python3 -m pipenv --version |
|
|
|
|
|
- cd server |
|
|
- cd server |
|
|
- pipenv install --dev --system |
|
|
- pipenv install --dev --system |
|
|
- pylint atheneum |
|
|
|
|
|
- mypy atheneum tests |
|
|
|
|
|
- PYTHONPATH=$(pwd) coverage run --source atheneum -m pytest |
|
|
|
|
|
- coverage report --fail-under=85 -m --skip-covered |
|
|
|
|
|
- pycodestyle atheneum tests |
|
|
|
|
|
- pydocstyle atheneum |
|
|
|
|
|
|
|
|
- bash ./run_tests.sh |
|
|
tags: |
|
|
tags: |
|
|
- docker |
|
|
- docker |