diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d609a51..0e41ce2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: with: deno-version: v1.x - name: Run tests - run: deno test --allow-net --coverage=coverage + run: deno task test - name: Create coverage report run: deno coverage ./coverage --lcov > coverage.lcov - name: Coveralls diff --git a/deno.json b/deno.json index 4593a84..3575d6f 100644 --- a/deno.json +++ b/deno.json @@ -9,7 +9,7 @@ } }, "tasks": { - "test": "deno test --allow-net mod_test.ts", + "test": "deno test --allow-net mod_test.ts --coverage=coverage", "test:audit": "deno test --allow-net audit_test.ts" } }