Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit 14537e0

Browse files
committed
Add coverage reports.
1 parent 10c2cb6 commit 14537e0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

alma/version.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import pkg_resources
2+
3+
__version__ = pkg_resources.get_distribution("alma-client").version

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ envlist = py37,py38,flake8
44
[testenv]
55
commands =
66
mypy --ignore-missing-imports --scripts-are-modules alma
7-
pytest tests # --cov-report term-missing --cov-fail-under 100 --cov alma {posargs}
7+
pytest tests --cov-report term-missing --cov alma {posargs} # --cov-fail-under 100
88
deps = -rdev-requirements.txt
99
install_command = pip install {opts} {packages}
1010

0 commit comments

Comments
 (0)