X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=.gitlab-ci.yml;h=b76ca1788fd9c9e5b73d05a0662d5b0208a1f72d;hb=955a5b3e3ac1266a7396b5b6d28113bfc1a9f66d;hp=8379c87799f6f7d06aadf0ccdde9ee8fd26ea884;hpb=dd2a18ade8d2cdbd3111c4eb01cf95f4a631f8a7;p=mpd-sima.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8379c87..b76ca17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,18 +32,24 @@ smoketest: - pip install dist/*.whl # smoke test - mpd-sima --help + - TRACE=y ./mpd-sima -d --pid ./mpd-sima.pid -l ./mpd-sima.log + - sleep 10 + - test -f ./mpd-sima.pid && kill $(cat ./mpd-sima.pid) artifacts: expire_in: 1 hour paths: - dist/*.whl - dist/*.tar.gz - dist/*.zip + - ./mpd-sima.pid + - ./mpd-sima.log unittests: stage: test script: - pip install pytest-cov requests python-musicpd - py.test -q --cov=sima --junitxml=report.xml tests + coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: when: always reports: