Skip to content

Commit

Permalink
Switched to coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-podzigun committed May 5, 2023
1 parent 84a86c0 commit 3cec17c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down Expand Up @@ -46,14 +46,11 @@ jobs:
npm i
npm run formatCheck
npx tsc
NODE_V8_COVERAGE=coverage0 npx c8 -r json --all --src ./src node --experimental-test-coverage ./test/all.mjs
NODE_V8_COVERAGE=coverage0 npx c8 -r lcovonly --all --src ./src node --experimental-test-coverage ./test/all.mjs
if: ${{ env.TAG_NAME == '' }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
- name: Report coverage to Coveralls
uses: coverallsapp/github-action@v2
if: ${{ env.TAG_NAME == '' }}

- name: Build SNAPSHOT
Expand Down

0 comments on commit 3cec17c

Please sign in to comment.