]> kaliko git repositories - python-musicpd.git/blobdiff - .gitlab-ci.yml
Releasing 0.9.0
[python-musicpd.git] / .gitlab-ci.yml
index 8b08de7ec5a496a1211228ec7b7f25530ed1c91c..6576783140e77d3886d75423817f39e198c2223f 100644 (file)
@@ -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