Closed clemaitre58 closed 6 years ago
Actually, it is covered by the tests (running on AppVeyor), but coveralls doesn't see it because the coverage is uploaded by travis-ci on Linux.
It seems not possible to sum the coverage as far as I know (and according to https://github.com/lemurheavy/coveralls-public/issues/544).
Could you provide a AppVeyor results?
Well, not on coveralls (it would overwrite the results of travis, and therefore would not cover 'posix' systems). I can provide you the coverage on a windows computer if you want (there is nearly no difference, as it is the only part where I have platform dependant code), but later as I'm using Linux now ;-)
Or you can run on your computer, if you happen to have Windows:
py.test --cov=mmappickle
@lfasnacht Yes I am interested in the coverage on the windows computer
OK, I will do it this evening if I have time.
TY.
I tried to add the coverage to appveyor.yml, the output should appear in the build logs at appveyor (it's awfully slow):
It worked:
Name Stmts Miss Cover Missing
---------------------------------------------------------------
mmappickle\__init__.py 3 0 100%
mmappickle\_version.py 1 0 100%
mmappickle\dict.py 459 6 99% 820-826
mmappickle\picklers\__init__.py 9 2 78% 10-12
mmappickle\picklers\base.py 84 6 93% 27, 33, 38, 46, 79-80
mmappickle\picklers\numpy.py 109 7 94% 41, 81, 83, 87, 107, 109, 116
mmappickle\stubs\__init__.py 7 2 71% 7-9
mmappickle\stubs\numpy.py 12 0 100%
mmappickle\utils.py 66 13 80% 14-18, 30-34, 72-77, 84
---------------------------------------------------------------
TOTAL 750 36 95%
Ok great!
Hi, Could you add some test to verify the support of 'nt' in source : utils.py https://coveralls.io/builds/16773337/source?filename=mmappickle/utils.py