diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3057820386368b9735b290da68b35fae2eac2c9b..7c612ff0a2849b7c3f1f8c19453bc2d75eae5452 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,15 +17,16 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest - tests/*.py .changes: - extends: .code_changes only: changes: + - silkaj/*.py + - tests/*.py - .gitlab-ci.yml - pyproject.toml - poetry.lock build: - extends: .changes + extends: [.code_changes, .changes] stage: checks script: - poetry build @@ -38,7 +39,7 @@ format: - black --check silkaj tests .tests: - extends: .changes + extends: [.code_changes, .changes] stage: tests image: $DOCKER_IMAGE/$PYTHON_VERSION:latest script: @@ -91,7 +92,7 @@ pypi: - poetry publish --build --username $PYPI_LOGIN --password $PYPI_PASSWORD pages: - extends: .changes + extends: [.code_changes, .changes] needs: [tests-3.7-coverage] only: [dev] stage: coverage