From cf31b8922a2113a510a7f34029551c8ccd1291cd Mon Sep 17 00:00:00 2001 From: Marius Kriegerowski Date: Wed, 28 Apr 2021 17:04:47 +0200 Subject: [PATCH] make gitlab ci jobs interruptible and silence install --- .gitlab-ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35fedc9..d0364b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,24 +8,27 @@ cache: - venv/ before_script: - - apt-get update - - apt-get install -y python3 git python3-pip - - pip3 install virtualenv - - virtualenv venv - - source venv/bin/activate - - pip3 install . - - pip3 install pytest-cov - - pip3 install .[tests] + - apt-get update -qq + - apt-get install -y python3 git python3-pip -qq > /dev/null + - pip3 install virtualenv -q + - virtualenv venv -q + - source venv/bin/activate -q + - pip3 install . -q + - pip3 install pytest-cov -q + - pip3 install .[tests] -q formatting: + interruptible: true script: - make check test: + interruptible: true script: - pytest tests coverage: + interruptible: true script: - pytest --cov=shakyground2/ tests/ - coverage xml -- GitLab