Skip to content

Commit 708d6ce

Browse files
committed
update coverage options
1 parent 4e19219 commit 708d6ce

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
lines changed

.codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
coverage:
22
precision: 2
3-
round: down
3+
round: up
44
range: "80...90"
55
status:
66
project:
77
default:
88
target: auto
99
threshold: 5%
10-
patch: off
10+
patch: false

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ target-version = ['py38']
4747

4848
[tool.pytest.ini_options]
4949
minversion = "6.0"
50-
addopts = "--cov=casparser --cov-report=xml --cov-report=html"
50+
addopts = "--cov=casparser --cov-report=xml --cov-report=html --cov-config=tox.ini"
5151
testpaths = [
5252
"tests",
5353
]

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ commands =
2323
[flake8]
2424
max-line-length = 100
2525

26+
[coverage:run]
27+
omit = casparser/cli.py
2628
[coverage:report]
2729
precision = 2

0 commit comments

Comments
 (0)