github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Invalid paths in lcov input leads to files silently disappearing

Open Barabas5532 opened this issue 3 years ago • 0 comments

If there is a misconfiguration that causes the file paths in lcov.info to be invalid, the files are missing from the output to coveralls with no warning or error.

Relates to https://github.com/coverallsapp/github-action/issues/103

For example in this ctest (Debug) run: https://github.com/ShrapnelDSP/ShrapnelMonorepo/runs/5343824003

# lcov input
SF:/__w/ShrapnelMonorepo/ShrapnelMonorepo/firmware/components/audio_param/include/audio_param.h

Run coverallsapp/github-action@master
  with:
    path-to-lcov: lcov.info
    base-path: test
    github-token: ***
    parallel: true
    flag-name: ctest
    coveralls-endpoint: https://coveralls.io/

# locv after processing by coveralls action
SF:test/__w/ShrapnelMonorepo/ShrapnelMonorepo/firmware/components/audio_param/include/audio_param.h\n

[info] "2022-02-26T10:17:40.263Z"  'sending this to coveralls.io: ' '{"source_files":[],"flag_name":"ctest"

Barabas5532 avatar Feb 26 '22 10:02 Barabas5532