Skip to content

Commit 259334e

Browse files
committed
update yaml file
1 parent 1bd95c2 commit 259334e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)