Philipp Hörist pushed to branch master at gajim / gajim
Commits: 9095045b by André Apitzsch at 2020-12-22T12:33:46+01:00 CI: Add test coverage - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -15,6 +15,7 @@ run-tests: - pip3 install -I git+https://dev.gajim.org/gajim/python-nbxmpp.git@master - pip3 install -I pylint==2.4.4 - pip3 install -I codespell + - pip3 install -I coverage - pip3 install -I css-parser - pip3 install -I keyring - pip3 install -I packaging @@ -23,10 +24,16 @@ run-tests: - mypy -V - mypy gajim - scripts/dev/pylint-ci.sh --jobs=2 gajim - - python3 -m unittest discover -s test/no_gui -v + - coverage run --source=gajim -m unittest discover -s test/no_gui -v + - coverage report -mi + - coverage xml -i - codespell -I codespell.conf --skip="*__pycache__*,gajim/data/icons,gajim/data/sounds,gajim/data/emoticons" gajim - deactivate - rm -rf civenv-master + coverage: "/TOTAL.+ ([0-9]{1,3}%)/" + artifacts: + reports: + cobertura: coverage.xml run-appdata: stage: test View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9095045bc0e3da8490497d179554fcf233b4cbdf -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9095045bc0e3da8490497d179554fcf233b4cbdf You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits