Skip to content

Commit

Permalink
chore: update coverage tasks (#3965)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua authored Dec 15, 2023
1 parent 576fbc3 commit 66e8a50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ html_cov/
cov.lcov
/http/testdata/%25A.txt
/http/testdata/file#2.txt
/http/testdata/test file.txt
/http/testdata/test file.txt
/coverage/
7 changes: 3 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/"
},
"tasks": {
"test": "deno test --doc --unstable --allow-all --parallel --coverage=./cov --trace-ops",
"test": "deno test --doc --unstable --allow-all --parallel --coverage --trace-ops",
"test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | xargs deno check --config browser-compat.tsconfig.json",
"fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts",
"lint:deprecations": "deno run --allow-read --allow-net --allow-env=HOME ./_tools/check_deprecation.ts",
Expand All @@ -23,9 +23,8 @@
"typos": "typos -c ./.github/workflows/typos.toml",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
"wasmbuild": "deno run --unstable -A https://deno.land/x/[email protected]/main.ts --js-ext mjs --sync",
"cov:clean": "rm -rf cov html_cov cov.lcov",
"cov:gen": "deno coverage ./cov/ --lcov --output=cov.lcov",
"cov:view": "genhtml --ignore-errors unmapped -o html_cov cov.lcov && open html_cov/index.html",
"cov:gen": "deno coverage coverage --lcov --output=cov.lcov",
"cov:view": "deno coverage --html coverage",
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test"
},
"exclude": [
Expand Down

0 comments on commit 66e8a50

Please sign in to comment.