Skip to content

Commit

Permalink
Add cov to tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Jul 2, 2022
1 parent 0d344d2 commit e765f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
deno fmt --check
deno task test
deno coverage ./coverage --lcov --exclude="test" --exclude="bundles" > coverage.lcov
deno task cov > coverage.lcov
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"importMap": "./import-map.json",
"tasks": {
"test": "deno fmt && deno lint && deno test test -A --fail-fast --doc --coverage=coverage --jobs --allow-read",
"cov": "deno coverage ./coverage --lcov --exclude='test' --exclude='bundles'",
"dnt": "deno run -A dnt.ts $(git describe --tags $(git rev-list --tags --max-count=1))",
"minify": "deno bundle ./mod.ts | esbuild --minify"
}
Expand Down

0 comments on commit e765f23

Please sign in to comment.