File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ jobs:
106106 - test
107107 - additional_tests
108108 steps :
109+ # Codecov uploader expects a git checkout (commit metadata + repo root)
110+ - uses : actions/checkout@v4
111+
109112 - name : Download coverage artifacts
110113 uses : actions/download-artifact@v7
111114 with :
@@ -118,10 +121,13 @@ jobs:
118121 cd coverage
119122 find . -name 'lcov.info' -print
120123 cat $(find . -name 'lcov.info' -print | sort) > merged-lcov.info
124+ # Normalize Windows path separators so Codecov can match sources.
125+ sed -i -e '/^SF:/ s#\\\\#/#g' merged-lcov.info
121126 wc -l merged-lcov.info
122127
123128 - name : Upload to Codecov
124129 uses : codecov/codecov-action@v5
125130 with :
126131 token : ${{ secrets.CODECOV_TOKEN }}
127132 files : coverage/merged-lcov.info
133+ disable_search : true
You can’t perform that action at this time.
0 commit comments