diff --git a/MANIFEST.in b/MANIFEST.in
index 4156b0d..8819f5b 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,6 +1,7 @@
 include README.md
 include Makefile
 include requirements.txt
 include requirements-swh.txt
 include version.txt
 recursive-include swh/loader/git/tests/data *.xz
+recursive-include swh/loader/git/tests/resources/ *
diff --git a/tox.ini b/tox.ini
index bb4c7d0..6927f8c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,28 +1,30 @@
 [tox]
 envlist=flake8,mypy,py3
 
 [testenv:py3]
 deps =
   # the dependency below is needed for now as a workaround for
   #   https://github.com/pypa/pip/issues/6239
   # TODO: remove when this issue is fixed
   swh.core[http] >= 0.0.61
   .[testing]
   pytest-cov
 commands =
-  pytest --cov=swh --cov-branch {posargs}
+  pytest --cov={envsitepackagesdir}/swh/loader/git \
+         {envsitepackagesdir}/swh/loader/git \
+         --cov-branch {posargs}
 
 [testenv:flake8]
 skip_install = true
 deps =
   flake8
 commands =
   {envpython} -m flake8
 
 [testenv:mypy]
 skip_install = true
 deps =
   .[testing]
   mypy
 commands =
   mypy swh