Commit 12e563d7 authored by Nico Alt's avatar Nico Alt

Get test coverage

parent 64223656
Pipeline #3510 passed with stage
in 4 minutes and 24 seconds
builddir
.coverage
.flatpak-builder
__pycache__
......@@ -14,6 +14,7 @@ test:pylint:
test:pytest:
image: debian:stretch
coverage: '/TOTAL.*\s+(\d+%)$/'
script:
- apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
- pip3 install -r requirements-dev.txt
......
......@@ -2,4 +2,5 @@
pycodestyle>=2.5.0
pylint>=2.3.1
pytest>=4.6.2
pytest-cov>=2.7.1
requests_mock>=1.6.0
#!/usr/bin/env bash
PYTHONPATH=src pytest tests/
PYTHONPATH=src pytest --cov=src tests/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment