diff --git a/.gitignore b/.gitignore index cc9b7b5d5..4ff969563 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .attic/ .cache/ +.venv/ .idea/ .mypy_cache/ .pytest_cache/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e55b1136a..2c3bee035 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,9 @@ variables: - # Using git fetch is faster. + # Using git fetch is faster # See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy GIT_STRATEGY: "fetch" - # Init submodules. + # Init submodules # See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy GIT_SUBMODULE_STRATEGY: "recursive" @@ -12,9 +12,13 @@ variables: # See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning GIT_DEPTH: "50" - # run make paralel + # Run `make` in parallel MAKEFLAGS: "-j10" + # Pipenv cache + PIPENV_VENV_IN_PROJECT: "true" + PIPENV_CACHE_DIR: ".cache/" + stages: - environment - prebuild