From 9805fdba9d87aa96b12de285e1799cbba16a7b6e Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Fri, 14 Feb 2020 18:03:11 +0200 Subject: [PATCH] [ci] #118: Split mypy and pylint jobs for more clarity and atomicity Move pylint job to 'tests' stage since it is as slow as tests jobs Add 'redshift' label since redshift is a bit faster than mille --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0302bca2..ee0d22ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,13 +52,21 @@ build: script: - poetry build -check: +type: extends: - .changes stage: checks script: - poetry install - make mypy + +lint: + extends: + - .changes + stage: tests + tags: [redshift] + script: + - poetry install - make pylint .tests: -- GitLab