github-action
github-action copied to clipboard
Invalid paths in lcov input leads to files silently disappearing
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"