X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=.gitlab-ci.yml;h=de4dc95418b998ee1b2f4c41938890a67ea3fb45;hp=8b08de7ec5a496a1211228ec7b7f25530ed1c91c;hb=refs%2Fheads%2Fmaster;hpb=b2ba6116b8d9dc60ce4033a57eb9441c72f73b25 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b08de7..6576783 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,13 @@ stages: - changes: - musicpd.py - test.py - - if: $MUSICPD_TEST + - if: $CI_PIPELINE_SOURCE == "schedule" + +test-py3.12: + extends: + - .cache_python + - .test + image: "python:3.12" test-py3.11: extends: @@ -91,6 +97,9 @@ build: - .gitlab-ci.yml - musicpd.py - test.py + - MANIFEST.in + - pyproject.toml + - if: $CI_PIPELINE_SOURCE == "schedule" tag_release: stage: build @@ -113,11 +122,12 @@ build_doc: stage: build script: - pip install sphinx sphinx_rtd_theme - - sphinx-build doc/source -b html ./html -D html_theme=sphinx_rtd_theme + - sphinx-build doc/source -b html ./html -D html_theme=sphinx_rtd_theme -E -W -n --keep-going rules: - if: $CI_PIPELINE_SOURCE == "push" changes: - doc/source/* + - if: $CI_PIPELINE_SOURCE == "schedule" pages: stage: build