codecov-bash icon indicating copy to clipboard operation
codecov-bash copied to clipboard

Xcode coverage *.coverage.text don't have path if have 1 file in module

Open guhungry opened this issue 7 years ago • 0 comments

FAIL

So the coverage can't map source code with path commit result

Here is the result file

# path=WCVersion.framework.coverage.txt
    1|       |//
*** OMMITED ***

<<<<<< EOF

SUCCESS

But after I split files the it generate path so it success commit result

Here is the result file

# path=WCVersion.framework.coverage.txt
/Users/bee.w/Git/ios-version/WCVersion/VersionNumber+Comparison.swift:
    1|       |//
*** OMMITED ***

/Users/bee.w/Git/ios-version/WCVersion/VersionNumber.swift:
    1|       |//
*** OMMITED ***

<<<<<< EOF

EXPECTED

Coverage file should generate with path regards less of how many files in module

# path=WCVersion.framework.coverage.txt
/Users/bee.w/Git/ios-version/WCVersion/VersionNumber.swift:
    1|       |//
*** OMMITED ***

<<<<<< EOF

guhungry avatar Sep 20 '18 03:09 guhungry