Skip to content

Commit dd046ea

Browse files
committed
☕ Remove coverage related tasks
1 parent 01c0eb0 commit dd046ea

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ jobs:
128128
./mod.ts
129129
130130
- name: Test
131-
run: deno task test:coverage
131+
run: deno task test --coverage=cov
132132
timeout-minutes: 15
133133

134134
- run: |
135-
deno task coverage --lcov > coverage.lcov
135+
deno coverage --lcov cov > coverage.lcov
136136
137137
- uses: codecov/codecov-action@v4
138138
with:

deno.jsonc

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,11 @@
2828
"./option/nvim": "./option/nvim/mod.ts",
2929
"./option/vim": "./option/vim/mod.ts",
3030
"./popup": "./popup/mod.ts",
31-
"./variable": "./variable/mod.ts"
31+
"./variable": "./variable/mod.ts",
3232
},
33-
"exclude": [
34-
".coverage/**"
35-
],
3633
"publish": {
37-
"include": [
38-
"**/*.ts",
39-
"README.md",
40-
"LICENSE"
41-
],
42-
"exclude": [
43-
"**/*_test.ts",
44-
".*"
45-
]
34+
"include": ["**/*.ts", "README.md", "LICENSE"],
35+
"exclude": ["**/*_test.ts", ".*"],
4636
},
4737
"imports": {
4838
"@core/asyncutil": "jsr:@core/asyncutil@^1.2.0",
@@ -88,17 +78,15 @@
8878
"jsr:@denops/std/option/nvim": "./option/nvim/mod.ts",
8979
"jsr:@denops/std/option/vim": "./option/vim/mod.ts",
9080
"jsr:@denops/std/popup": "./popup/mod.ts",
91-
"jsr:@denops/std/variable": "./variable/mod.ts"
81+
"jsr:@denops/std/variable": "./variable/mod.ts",
9282
},
9383
"tasks": {
9484
"check": "deno check ./**/*.ts",
9585
"check:doc": "deno test --doc --no-run",
9686
"test": "deno test -A --parallel --shuffle",
97-
"test:coverage": "deno task test --coverage=.coverage",
98-
"coverage": "deno coverage .coverage",
9987
"gen:function": "deno run -A ./.scripts/gen-function/gen-function.ts",
10088
"gen:option": "deno run -A ./.scripts/gen-option/gen-option.ts",
10189
"gen": "deno task gen:function && deno task gen:option && deno fmt",
102-
"apply:supported-versions": "deno run --allow-net --allow-read --allow-write --allow-env .scripts/apply-supported-versions.ts"
103-
}
90+
"apply:supported-versions": "deno run --allow-net --allow-read --allow-write --allow-env .scripts/apply-supported-versions.ts",
91+
},
10492
}

0 commit comments

Comments
 (0)