diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d6553c43ec7a4e475630f40ef70617c3599c205..083554f90634a19d7e7990390d65f89ae4074d4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,8 @@ image: python:latest -# Change pip's cache directory to be inside the project directory since we can -# only cache local items. variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" -# Pip's cache doesn't store the python packages -# https://pip.pypa.io/en/stable/topics/caching/ -# -# If you want to also cache the installed packages, you have to install -# them in a virtualenv and cache it as well. cache: paths: - .cache/pip @@ -29,3 +22,8 @@ test: script: - pytest --cov +count_lines: + tags: + - docker + script: + - git ls-files | wc -l