csiro-hydrogeology / pyela

Python package for Exploratory Lithology Analysis
Other
24 stars 5 forks source link

codecov does not report any coverage after running on travis #11

Closed jmp75 closed 5 years ago

jmp75 commented 5 years ago

Perhaps because of the warning at the end after coverage run run_tests.py .

----------- coverage: platform linux, python 3.7.3-final-0 -----------
Name                         Stmts   Miss Branch BrPart  Cover
--------------------------------------------------------------
ela/__init__.py                  0      0      0      0   100%
ela/_version.py                  2      2      0      0     0%
ela/classification.py          132     37     58      6    69%
etc
ela/visual3d.py                154    154     14      0     0%
--------------------------------------------------------------
TOTAL                         1092    582    272     24    48%

============================================================ 34 passed, 5 warnings in 2.44 seconds =============================================================
Coverage.py warning: No data was collected. (no-data-collected)
jmp75 commented 5 years ago

changing from coverage run run_tests.py to coverage run -m pytest does not generate the same warning. Seems to have worked. Can see relevant stats on codecov