Skip to content

Commit

Permalink
fix: tests running twice in ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackAsLight committed Feb 12, 2025
1 parent 837f26e commit f4d4c56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Run tests
run: |
deno task test --doc
deno task test --doc --coverage --clean
deno task test:with-unsafe-proto
- name: Run timezone-dependent tests
Expand All @@ -54,8 +54,8 @@ jobs:

- name: Generate lcov and html reports
run: |
deno task cov:gen
deno task cov:view
deno task cov:lcov
deno task cov:html
- name: Upload coverage
uses: codecov/codecov-action@v5
Expand Down
13 changes: 7 additions & 6 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
"typos": "typos -c ./.github/workflows/typos.toml",
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild",
"wasmbuild": "deno run -A jsr:@deno/wasmbuild@0.17.1 --js-ext mjs --sync",
"cov": "deno task test --coverage --clean --reporter=dot && deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts,.github\"",
"cov:gen": "deno task cov --lcov --output=cov.lcov",
"cov:view": "deno task cov --html",
"cov:mac": "deno task cov:view && open coverage/html/index.html",
"cov:lin": "deno task cov:view && xdg-open coverage/html/index.html",
"cov:win": "deno task cov:view && start coverage/html/index.html",
"cov:test": "deno task test --coverage --clean --reporter=dot",
"cov": "deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts,.github\"",
"cov:lcov": "deno task cov --lcov --output=cov.lcov",
"cov:html": "deno task cov --html",
"cov:mac": "deno task cov:test && deno task cov:html && open coverage/html/index.html",
"cov:lin": "deno task cov:test && deno task cov:html && xdg-open coverage/html/index.html",
"cov:win": "deno task cov:test && deno task cov:html && start coverage/html/index.html",
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test --doc"
},
"exclude": [
Expand Down

0 comments on commit f4d4c56

Please # to comment.