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 78c0c6f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 23 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
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ test/
node_modules/
tsconfig.json
**/*.test.*
codecov.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[![CI](https://github.com/farjs/farjs-ui/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/farjs/farjs-ui/actions/workflows/ci.yml?query=workflow%3Aci+branch%3Amain)
[![codecov](https://codecov.io/gh/farjs/farjs-ui/branch/main/graph/badge.svg?token=KRWHJ8W2LG)](https://codecov.io/gh/farjs/farjs-ui)
[![Coverage Status](https://coveralls.io/repos/github/farjs/farjs-ui/badge.svg?branch=main)](https://coveralls.io/github/farjs/farjs-ui?branch=main)
[![npm version](https://img.shields.io/npm/v/@farjs/ui)](https://www.npmjs.com/package/@farjs/ui)

## @farjs/ui
Expand Down
14 changes: 0 additions & 14 deletions codecov.yml

This file was deleted.

0 comments on commit 78c0c6f

Please sign in to comment.