+ - python -m venv venv
+ - source venv/bin/activate
+ - pip install pytest-cov
+ - py.test -q --cov=musicpd test.py
+ rules:
+ - changes:
+ - musicpd.py
+ - test.py
+ - if: $CI_PIPELINE_SOURCE == "schedule"
+
+test-py3.12:
+ extends:
+ - .cache_python
+ - .test
+ image: "python:3.12"
+
+test-py3.11:
+ extends:
+ - .cache_python
+ - .test
+ image: "python:3.11"
+
+test-py3.10:
+ extends:
+ - .cache_python
+ - .test
+ image: "python:3.10"
+ coverage: '/musicpd.py\s+\d+\s+\d+\s+(\d+)%/'