.gitlab-ci.yml 433 Bytes
Newer Older
Andreas Valder's avatar
Andreas Valder committed
1
2
3
4
5
6
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
Andreas Valder's avatar
Andreas Valder committed
7
8
    - python3 -V
    - uname -a
Andreas Valder's avatar
Andreas Valder committed
9
    - ./tests.py
Andreas Valder's avatar
Andreas Valder committed
10
11
    - python3 -m coverage run tests.py
    - python3 -m coverage html
Andreas Valder's avatar
Andreas Valder committed
12
13
14
    artifacts:
        paths:
        - htmlcov/*