File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,21 @@ jobs:
9696 run : |
9797 # Remove leading slash from source file paths to make them relative
9898 sed -i 's|^SF:/|SF:|g' coverage/lcov.info
99+ # Also ensure paths are properly formatted for Coveralls
100+ sed -i 's|^SF:packages/|SF:./packages/|g' coverage/lcov.info
101+
102+ - name : Debug coverage file
103+ run : |
104+ echo "First 20 lines of coverage file:"
105+ head -n 20 coverage/lcov.info
106+ echo "Total source files in coverage:"
107+ grep -c "^SF:" coverage/lcov.info || true
99108
100109 - name : Upload combined coverage report
101110 uses : coverallsapp/github-action@v2
102111 with :
103112 github-token : ${{ secrets.GITHUB_TOKEN }}
104- path-to-lcov : ./coverage/lcov.info
105- base-path : ./
113+ path-to-lcov : coverage/lcov.info
114+ format : lcov
115+ flag-name : combined
116+ parallel : false
You can’t perform that action at this time.
0 commit comments