From 676953be4d789ab7ab1d885301e12741e539c99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk> Date: Tue, 11 Jan 2022 11:55:41 +0000 Subject: [PATCH] add exceptions to release --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5695d96..19a59bd2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ image: python:3.7 cache: key: "project-${CI_JOB_NAME}" paths: - - .cache/pip - .venv key: files: @@ -57,11 +56,13 @@ Bump_release: - echo "TRIGGER_PYPI_NAME=$(cat pyproject.toml | grep '^name =' | head -n 1 | cut -f3 -d' ' | tr -d \")" >> build.env - echo "Exporting TRIGGER_PYPI_NAME as ${TRIGGER_PYPI_NAME}" - artifacts: - reports: - dotenv: build.env only: - master + except: + changes: + - tests/ + - .* + needs: job: Unit test -- GitLab