diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b057f7..fd2fa99 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,17 +5,9 @@ Atheneum:Tests: image: python:3.6-slim-stretch stage: test script: - - python3 --version - - python3 -m pip --version - python3 -m pip install pipenv - - python3 -m pipenv --version - cd server - 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: - docker diff --git a/server/run_tests.sh b/server/run_tests.sh index 18c1741..b3d6c89 100755 --- a/server/run_tests.sh +++ b/server/run_tests.sh @@ -3,6 +3,18 @@ set -e set -x + +python3 --version +python3 -m pip --version +python3 -m pipenv --version + +pylint --version +mypy --version +coverage --version +pytest --version +pycodestyle --version +pydocstyle --version + pylint atheneum mypy atheneum tests PYTHONPATH=$(pwd) coverage run --source atheneum -m pytest