Skip to content
Snippets Groups Projects
Commit 12e563d7 authored by Nico's avatar Nico
Browse files

Get test coverage

parent 64223656
No related branches found
No related tags found
No related merge requests found
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/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment