From 99412dc7a21792dac8f05017d765620ad8e0ae81 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Thu, 26 Jul 2018 23:43:55 -0500 Subject: [PATCH] Attempting to resolve differences between CI and dev environment --- .gitlab-ci.yml | 10 +--------- server/run_tests.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) 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