chore(ci): run tests in parallel (#1281)
This commit is contained in:
@@ -73,7 +73,7 @@ jobs:
|
|||||||
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts
|
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: deno test -A
|
run: deno test -A --parallel
|
||||||
|
|
||||||
- name: Type check init script
|
- name: Type check init script
|
||||||
run: deno check --remote init.ts
|
run: deno check --remote init.ts
|
||||||
|
|||||||
@@ -33,5 +33,5 @@ jobs:
|
|||||||
working-directory: www/
|
working-directory: www/
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: deno test -A
|
run: deno test -A --parallel
|
||||||
working-directory: www/
|
working-directory: www/
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"test": "deno test -A && deno check --config=www/deno.json www/main.ts www/dev.ts && deno check init.ts",
|
"test": "deno test -A --parallel && deno check --config=www/deno.json www/main.ts www/dev.ts && deno check init.ts",
|
||||||
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
|
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
|
||||||
"www": "deno task --cwd=www start",
|
"www": "deno task --cwd=www start",
|
||||||
"screenshot": "deno run -A www/utils/screenshot.ts"
|
"screenshot": "deno run -A www/utils/screenshot.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user