From 3869a05677968e532272b68558f87dd210df04fa Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 9 Mar 2020 10:31:40 +0100 Subject: [PATCH] ci: add a generic timeout to GitLab pytest runs --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2f2d37f78..3873591ad2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,9 @@ variables: # Run `make` in parallel MAKEFLAGS: "-j10" + # Apply timeout to pytest-based tests + PYTEST_TIMEOUT: "300" + # Pipenv cache PIPENV_VENV_IN_PROJECT: "true" PIPENV_CACHE_DIR: ".cache/"