Skip to content

Commit 67995b7

Browse files
committed
☕ Remove coverage related tasks and directly apply in CI
1 parent e769196 commit 67995b7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ jobs:
133133
deno cache ./mod.ts
134134
135135
- name: Run tests
136-
run: deno task test:coverage
136+
run: deno task test --coverage=cov
137137
timeout-minutes: 15
138138

139139
- run: |
140-
deno task coverage --lcov > coverage.lcov
140+
deno coverage --lcov cov > coverage.lcov
141141
142142
- uses: codecov/codecov-action@v4
143143
with:

deno.jsonc

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@
66
"./tester": "./tester.ts",
77
"./with": "./with.ts"
88
},
9-
"exclude": [".coverage"],
109
"publish": {
11-
"include": ["**/*.ts", "README.md", "LICENSE"],
12-
"exclude": ["**/*_test.ts", ".*"]
10+
"include": [
11+
"**/*.ts",
12+
"README.md",
13+
"LICENSE"
14+
],
15+
"exclude": [
16+
"**/*_test.ts",
17+
".*"
18+
]
1319
},
1420
"tasks": {
1521
"check": "deno check **/*.ts",
1622
"check:doc": "deno test --doc --no-run",
1723
"test": "deno test -A --parallel --shuffle",
18-
"test:coverage": "deno task test --coverage=.coverage",
19-
"coverage": "deno coverage .coverage",
2024
"update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli ./*.ts",
2125
"update:commit": "deno task -q update --commit --prefix :package: --pre-commit=fmt,lint",
2226
"apply:supported-versions": "deno run --allow-env --allow-net --allow-read --allow-write .scripts/apply-supported-versions.ts"
@@ -26,7 +30,9 @@
2630
},
2731
"lint": {
2832
"rules": {
29-
"exclude": ["no-import-prefix"]
33+
"exclude": [
34+
"no-import-prefix"
35+
]
3036
}
3137
}
3238
}

0 commit comments

Comments
 (0)