From 6c18b171113210b358f028330ac195b1d9092292 Mon Sep 17 00:00:00 2001 From: murphy <william.murphy@embl.de> Date: Tue, 26 Mar 2024 12:00:54 +0100 Subject: [PATCH] Run code-analysis in separate cicd stage to avoid issues with resources --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bf7427..528e9e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ image: python:3.12-slim-bookworm -stages: ["test", "build"] +stages: ["code-analysis","test", "build"] before_script: ["pip --quiet install poetry && poetry install"] cache: @@ -8,12 +8,12 @@ cache: paths: ["/root/.cache/pip", "/root/.cache/pypoetry"] Run type checks: - stage: test + stage: code-analysis script: - poetry run mypy --install-types --non-interactive . Run pylint: - stage: test + stage: code-analysis script: - poetry run pylint dma_client --exit-zero -- GitLab