unittest: image: debian:stretch stage: test script: - apt update
- apt install -y sqlite3 python3 locales-all python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage git
- python3 -V - uname -a - python3 -m coverage run tests.py
- python3 -m coverage report - python3 -m coverage report -m > report.txt
- python3 -m coverage html
artifacts: paths:
- htmlcov/* - .coverage - report.txt