CI: Use latest actions and reusable workflows
[releng/lftools.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index bca842f..c935027 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,10 @@ ignore_basepython_conflict = true
 
 [pytest]
 markers = datafiles
-addopts = -p no:warnings
+addopts =
+    -p no:warnings
+    --cov=lftools
+    --cov-report=term-missing
 
 [testenv]
 basepython = python3
@@ -20,6 +23,7 @@ basepython = python3
 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