include: - remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/r2_metadata/python_install@latest.yaml' pytest: extends: - .python_install stage: test variables: PYTHON_SETUP: "pip install -r ${PROJECT_PATH}/requirements.txt" PYTEST_RUN_CMD: "pytest ${PROJECT_PATH}" script: - !reference [.python_install, script] - ${PYTEST_RUN_CMD} only: changes: - ${PROJECT_PATH}/**/*.py - .gitlab-ci.yml - ${PROJECT_PATH}/pyproject.toml - ${PROJECT_PATH}/pytest.ini