Skip to content

Commit 6f8cefd

Browse files
committed
try codecoov
1 parent 253eb73 commit 6f8cefd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@ jobs:
9494
9595
- name: Fix source file paths in LCOV
9696
run: |
97-
# Convert absolute CI paths to relative paths for Coveralls
97+
# Convert absolute CI paths to relative paths
9898
sed -i 's|^SF:/home/runner/work/supabase-flutter/supabase-flutter/|SF:|g' coverage/lcov.info
9999
100-
- name: Debug coverage file
101-
run: |
102-
echo "First 20 lines of coverage file:"
103-
head -n 20 coverage/lcov.info
104-
echo "Total source files in coverage:"
105-
grep -c "^SF:" coverage/lcov.info || true
100+
- name: Upload to Codecov
101+
uses: codecov/codecov-action@v3
102+
with:
103+
file: ./coverage/lcov.info
104+
flags: unittests
105+
name: codecov-umbrella
106106

107-
- name: Upload combined coverage report
107+
# Keep Coveralls for backward compatibility
108+
- name: Upload to Coveralls
108109
uses: coverallsapp/github-action@v2
109110
with:
110111
github-token: ${{ secrets.GITHUB_TOKEN }}
111112
path-to-lcov: ./coverage/lcov.info
112-
git-path: .

0 commit comments

Comments
 (0)