diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85926409c1fb06be0d78a039211898ab5af3f632..73e24cf6626d8399d1f86a9f99a3f7dcca5dd60e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,12 +19,6 @@ python_install: PYTHON_SETUP: "pip install ${PROJECT_PATH}" script: - !reference [ .python_install, script ] - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/partial/python_install/**/* - - tests/python_install_project/**/* pytest: stage: templates @@ -32,36 +26,18 @@ pytest: variables: PROJECT_PATH: "tests/pytest_project" PYTHON_SETUP: "pip install ${PROJECT_PATH}[TESTS]" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/testing/pytest/**/* - - tests/pytest_project/**/* flake8: stage: templates needs: [ "python_install" ] variables: PROJECT_PATH: "tests/flake8_project" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/code_quality/flake8/**/* - - tests/flake8_project/**/* black: stage: templates needs: [ "python_install" ] variables: PROJECT_PATH: "tests/black_project" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/code_quality/black/**/* - - tests/black_project/**/* isort: @@ -69,33 +45,15 @@ isort: needs: [ "python_install" ] variables: PROJECT_PATH: "tests/isort_project" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/code_quality/isort/**/* - - tests/isort_project/**/* mypy: stage: templates needs: [ "python_install" ] variables: PROJECT_PATH: "tests/mypy_project" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/code_quality/mypy/**/* - - tests/mypy_project/**/* ruff: stage: templates needs: [ "python_install" ] variables: PROJECT_PATH: "tests/ruff_project" - only: - changes: - - .gitlab-ci.yml - - pyproject.toml - - templates/python/code_quality/ruff/**/* - - tests/ruff_project/**/*