From dfb96fa289320b1e3d762aa5846787bd1616cd5a Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Mon, 17 Jul 2023 13:37:07 +0200 Subject: [PATCH] run ci when change in template --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de70d1f..e63fbd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,19 @@ pytest: variables: PROJECT_PATH: "tests/pytest_project" PYTHON_SETUP: "pip install ${PROJECT_PATH} pytest" + only: + changes: + - .gitlab-ci.yml + - pyproject.toml + - templates/python/testing/pytest/* flake8: stage: template_testing variables: PROJECT_PATH: "tests/flake8_project" PYTHON_SETUP: "pip install ${PROJECT_PATH} flake8" + only: + changes: + - .gitlab-ci.yml + - pyproject.toml + - templates/python/code_quality/flake8/* -- GitLab