Ignore shallow clone coverage on appveyor

Appveyor uses old version of git so shallow clone
always fails and lines 150-151 are not executed.
This commit is contained in:
DanielChabrowski
2019-03-16 00:16:39 +01:00
parent a170e60daa
commit ab1df03418

View File

@@ -142,7 +142,7 @@ class Store(object):
git_cmd('checkout', ref)
git_cmd('submodule', 'update', '--init', '--recursive')
def _shallow_clone(self, ref, git_cmd):
def _shallow_clone(self, ref, git_cmd): # pragma: windows no cover
"""Perform a shallow clone of a repository and its submodules """
git_config = 'protocol.version=2'