diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de70d1f9cd4cbe40caf966569ac7633ac4b2b077..e63fbd46913006538e7fd085bc8c0e09bd10ff92 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/*