Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
briar
Briar GTK
Commits
12e563d7
Commit
12e563d7
authored
Jun 10, 2019
by
Nico
Browse files
Get test coverage
parent
64223656
Pipeline
#3510
passed with stage
in 4 minutes and 24 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
12e563d7
builddir
.coverage
.flatpak-builder
__pycache__
.gitlab-ci.yml
View file @
12e563d7
...
...
@@ -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
...
...
requirements-dev.txt
View file @
12e563d7
...
...
@@ -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
tools/tests/test-pytest.sh
View file @
12e563d7
#!/usr/bin/env bash
PYTHONPATH
=
src pytest tests/
PYTHONPATH
=
src pytest
--cov
=
src
tests/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment