Skip to content

Commit

Permalink
fix: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
missannil committed Nov 27, 2023
1 parent bc9ca5d commit e96ec6f
Show file tree
Hide file tree
Showing 64 changed files with 74 additions and 5,208 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ jobs:
# 在项目-settings-secrets and variables-actions 下建立Environment secrets,名字为NPM_TOKEN,值为npm下建立的密钥。
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

[![](https://img.shields.io/github/license/missannil/annil)](https://github.com/missannil/annil/blob/main/LICENSE)

[![](https://img.shields.io/codecov/c/github/wechat-miniprogram/miniprogram-simulate.svg)](https://app.codecov.io/gh/wechat-miniprogram/miniprogram-simulate)
[![](https://codecov.io/github/vuejs/vue?branch=dev)]()
annil(安奈儿)是为使用typescript原始开发微信小程序所写的插件,是您的小程序代码更易写、易读、易维护。
11 changes: 5 additions & 6 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1701041843020" clover="3.2.0">
<project timestamp="1701041843020" name="All files">
<metrics statements="271" coveredstatements="271" conditionals="135" coveredconditionals="135" methods="50" coveredmethods="48" elements="456" coveredelements="454" complexity="0" loc="271" ncloc="271" packages="7" files="25" classes="25"/>
<coverage generated="1701065650727" clover="3.2.0">
<project timestamp="1701065650728" name="All files">
<metrics statements="270" coveredstatements="270" conditionals="135" coveredconditionals="135" methods="50" coveredmethods="48" elements="455" coveredelements="453" complexity="0" loc="270" ncloc="270" packages="7" files="25" classes="25"/>
<package name="src">
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="3"/>
<file name="index.ts" path="C:\Users\missa\Desktop\annil\src\index.ts">
Expand All @@ -14,9 +14,9 @@
</file>
</package>
<package name="src.api.DefineComponent">
<metrics statements="23" coveredstatements="23" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
<metrics statements="22" coveredstatements="22" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
<file name="index.ts" path="C:\Users\missa\Desktop\annil\src\api\DefineComponent\index.ts">
<metrics statements="23" coveredstatements="23" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
<metrics statements="22" coveredstatements="22" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
<line num="3" count="10" type="stmt"/>
<line num="4" count="10" type="stmt"/>
<line num="5" count="10" type="stmt"/>
Expand All @@ -29,7 +29,6 @@
<line num="22" count="10" type="stmt"/>
<line num="23" count="10" type="stmt"/>
<line num="91" count="10" type="stmt"/>
<line num="92" count="10" type="stmt"/>
<line num="95" count="10" type="stmt"/>
<line num="109" count="10" type="stmt"/>
<line num="111" count="10" type="cond" truecount="3" falsecount="0"/>
Expand Down
30 changes: 14 additions & 16 deletions coverage/coverage-final.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,17 @@
"9": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 78 } },
"10": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 56 } },
"11": { "start": { "line": 91, "column": 59 }, "end": { "line": 137, "column": 1 } },
"12": { "start": { "line": 92, "column": 2 }, "end": { "line": 92, "column": 117 } },
"13": { "start": { "line": 95, "column": 41 }, "end": { "line": 105, "column": 4 } },
"14": { "start": { "line": 109, "column": 36 }, "end": { "line": 109, "column": 38 } },
"15": { "start": { "line": 111, "column": 2 }, "end": { "line": 113, "column": 3 } },
"16": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 81 } },
"17": { "start": { "line": 115, "column": 2 }, "end": { "line": 117, "column": 3 } },
"18": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 76 } },
"19": { "start": { "line": 124, "column": 2 }, "end": { "line": 124, "column": 72 } },
"20": { "start": { "line": 126, "column": 2 }, "end": { "line": 126, "column": 46 } },
"21": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 75 } },
"22": { "start": { "line": 136, "column": 2 }, "end": { "line": 136, "column": 33 } },
"23": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 59 } }
"12": { "start": { "line": 95, "column": 41 }, "end": { "line": 105, "column": 4 } },
"13": { "start": { "line": 109, "column": 36 }, "end": { "line": 109, "column": 38 } },
"14": { "start": { "line": 111, "column": 2 }, "end": { "line": 113, "column": 3 } },
"15": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 81 } },
"16": { "start": { "line": 115, "column": 2 }, "end": { "line": 117, "column": 3 } },
"17": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 76 } },
"18": { "start": { "line": 124, "column": 2 }, "end": { "line": 124, "column": 72 } },
"19": { "start": { "line": 126, "column": 2 }, "end": { "line": 126, "column": 46 } },
"20": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 75 } },
"21": { "start": { "line": 136, "column": 2 }, "end": { "line": 136, "column": 33 } },
"22": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 59 } }
},
"fnMap": {
"0": {
Expand Down Expand Up @@ -127,13 +126,12 @@
"14": 10,
"15": 10,
"16": 10,
"17": 10,
"18": 9,
"17": 9,
"18": 10,
"19": 10,
"20": 10,
"21": 10,
"22": 10,
"23": 10
"22": 10
},
"f": { "0": 10 },
"b": { "0": [10], "1": [10, 10], "2": [9], "3": [10, 9], "4": [10, 2] }
Expand Down
116 changes: 0 additions & 116 deletions coverage/lcov-report/api/DefineComponent/index.html

This file was deleted.

0 comments on commit e96ec6f

Please sign in to comment.