Skip to content

Commit

Permalink
Chore: Add coverage reporting
Browse files Browse the repository at this point in the history
Issue: RELENG-4938
Signed-off-by: Andrew Grimberg <[email protected]>
Change-Id: Ic5589cd05033ee2f6758f10a84cb235317cc55df
  • Loading branch information
tykeal committed Oct 12, 2023
1 parent 92af662 commit 955ce28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ openstack = [
test = [
"pytest==5.3.5",
"pytest-click==0.3",
"pytest-cov",
"pytest-datafiles==2.0",
"pytest-mock==2.0.0",
"pytest-responses==0.4.0"
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ ignore_basepython_conflict = true

[pytest]
markers = datafiles
addopts = -p no:warnings
addopts =
-p no:warnings
--cov=lftools
--cov-report=term-missing

[testenv]
basepython = python3
# This needs to mirror the test section of pyproject.toml
deps =
pytest==5.3.5
pytest-click==0.3
pytest-cov
pytest-datafiles==2.0
pytest-mock==2.0.0
pytest-responses==0.4.0
Expand Down

0 comments on commit 955ce28

Please sign in to comment.