5 - python -V # Print out python version for debugging
13 FF_USE_FASTZIP: 1 # enable faster caching/artifacting
14 PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
16 key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
17 paths: # cache the venv and pip cache (you may opt to use just 1 of these)
25 - source venv/bin/activate
26 - pip install pytest-cov
27 - py.test -q --cov=musicpd test.py
44 coverage: '/musicpd.py\s+\d+\s+\d+\s+(\d+)%/'
77 - source venv/bin/activate
80 - python3 -m build -s -w
81 - pip install dist/*.whl
99 - source venv/bin/activate
101 - python3 -m build -s -w
107 name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
114 - pip install sphinx sphinx_rtd_theme
115 - sphinx-build -d ./build/doctrees doc/source -b html ./public -D html_theme=sphinx_rtd_theme