From 2c8922c0a1049312335aea6d94f1e5db8aa26a82 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Wed, 29 Nov 2023 02:54:00 +0200 Subject: [PATCH] Simplify coverage report --- .github/workflows/ci.yml | 3 --- package.json | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aad11ec..241583b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,6 @@ jobs: - name: Test run: npm test - - name: Create coverage report - run: npm run report-coveralls - - name: Upload coverage report to coveralls.io uses: coverallsapp/github-action@master with: diff --git a/package.json b/package.json index deb64e3..a2d2c27 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,7 @@ }, "scripts": { "lint": "eslint --ext js --ext mjs .", - "test": "npm run lint && c8 mocha && node support/specsplit.mjs", - "coverage": "npm run test && c8 report --reporter html", - "report-coveralls": "c8 --reporter=lcov mocha", + "test": "npm run lint && c8 -r text -r html -r lcov mocha && node support/specsplit.mjs", "doc": "node support/build_doc.mjs", "gh-doc": "npm run doc && gh-pages -d apidoc -f", "demo": "npm run lint && node support/build_demo.mjs",