gitlab-ci: only run Python-only jobs when .py files change

This commit is contained in:
Hans-Christoph Steiner 2025-03-27 01:45:22 +01:00
parent 6ad79e3c06
commit 7f67a882e7

View file

@ -642,6 +642,7 @@ servergitmirrors:
Build documentation: Build documentation:
image: debian:bookworm-slim image: debian:bookworm-slim
<<: *python-rules-changes
<<: *apt-template <<: *apt-template
script: script:
- apt-get install make python3-sphinx python3-numpydoc python3-pydata-sphinx-theme pydocstyle fdroidserver - apt-get install make python3-sphinx python3-numpydoc python3-pydata-sphinx-theme pydocstyle fdroidserver
@ -758,6 +759,7 @@ docker:
# PUBLISH is the signing server. It has a very minimal manual setup. # PUBLISH is the signing server. It has a very minimal manual setup.
PUBLISH: PUBLISH:
image: debian:bullseye-backports image: debian:bullseye-backports
<<: *python-rules-changes
script: script:
- apt-get update - apt-get update
- apt-get -qy upgrade - apt-get -qy upgrade