File tree Expand file tree Collapse file tree 3 files changed +3
-17
lines changed
Expand file tree Collapse file tree 3 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,10 @@ jobs:
2525
2626 - name : Generate Coverage Report
2727 run : |
28- # 清理之前的覆盖率文件
2928 moon coverage clean
30- # 运行MoonBit测试并生成覆盖率
3129 moon coverage analyze
32- # 生成Codecov兼容的coverage报告
3330 moon coverage report -f coveralls -o coverage.json
34- # 验证文件生成
35- if [ -f "coverage.json" ]; then
36- echo "✅ Coverage report generated successfully"
37- echo "File size: $(wc -c < coverage.json) bytes"
38- head -5 coverage.json
39- else
40- echo "❌ coverage.json not found"
41- exit 1
42- fi
31+ ls -la coverage.json
4332
4433 - name : Upload Coverage to Codecov
4534 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 11# ReactiveX for MoonBit
22
3- [ ![ codecov] ( https://codecov.io/gh/CGaaaaaa/ReactiveX/branch/main/graph/badge.svg?token=YOUR_TOKEN )] ( https://codecov.io/gh/CGaaaaaa/ReactiveX )
3+ [ ![ codecov] ( https://codecov.io/gh/CGaaaaaa/ReactiveX/branch/main/graph/badge.svg )] ( https://codecov.io/gh/CGaaaaaa/ReactiveX )
44[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
55[ ![ Tests Passing] ( https://img.shields.io/badge/Tests-Passing-brightgreen.svg )] ( src/test.mbt )
66
Original file line number Diff line number Diff line change @@ -24,10 +24,7 @@ comment:
2424 require_base : no
2525 require_head : yes
2626
27-
28-
2927ignore :
3028 - " node_modules"
3129 - " target"
32- - " _coverage"
33- - " **/*.json"
30+ - " _coverage"
You can’t perform that action at this time.
0 commit comments