xd009642/tarpaulin

"Source Not Available" Error on Coveralls

Closed this issue · 0 comments

Describe the bug
Looks like the coverage report sent to Coveralls fails to match with the GitHub files. Here is an example on my project.

To Reproduce

  1. Fetch my project
  2. Install Tarpaulin:
    cargo install cargo-tarpaulin
    
  3. Run tarpaulin on my project
    cargo tarpaulin --coveralls Z53FpI2gSTvnQw64wGeSx1aX0u5M1PEV5
    
    Don't be shy of pushing coverage to the coveralls project. I will regenerate the token later.
  4. Go to the repository page on coveralls to see the error

Please note that this will allow you to reproduce the issue on local. On my project, I send coverage report using this GitHub Action. Error is the same in both ways.

Expected behavior
The source on Coveralls should match the GitHub's ones.

Environment

  • OS: windows
  • Cargo: 1.72.0 (103a7ff2e 2023-08-15)
  • tarpaulin: 0.27.2

Additional intel

My two cents on the rootcause
Since I work on windows, I believe the report is send to Coveralls with the Windows path separator \ and Coveralls search files in the repo with the linux one /.

Thanks in advance for the help !