Skip to content

Commit b09145c

Browse files
Merge pull request #126 from technote-space/technote-space-patch-1
feat: use codecov
2 parents 108486e + bc68f22 commit b09145c

File tree

3 files changed

+9
-20
lines changed

3 files changed

+9
-20
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
run: yarn install
4848
- name: Run tests
4949
run: yarn cover
50-
- name: Coveralls
51-
uses: coverallsapp/github-action@master
52-
with:
53-
github-token: ${{ secrets.github_token }}
54-
parallel: true
50+
- name: Codecov
51+
run: curl -s https://codecov.io/bash | bash -s -- -t $CODECOV_TOKEN -f $COVERAGE_FILE
52+
env:
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
54+
COVERAGE_FILE: ./coverage/lcov.info
5555
- uses: 8398a7/action-slack@v1
5656
with:
5757
type: failure
@@ -60,20 +60,9 @@ jobs:
6060
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6161
if: failure()
6262

63-
coverallsFinished:
64-
name: Coveralls Finished
65-
needs: jest
66-
runs-on: ubuntu-latest
67-
steps:
68-
- name: Coveralls Finished
69-
uses: coverallsapp/github-action@master
70-
with:
71-
github-token: ${{ secrets.github_token }}
72-
parallel-finished: true
73-
7463
slack:
7564
name: Slack
76-
needs: coverallsFinished
65+
needs: jest
7766
runs-on: ubuntu-latest
7867
steps:
7968
- uses: 8398a7/action-slack@v1

README.ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version](https://badge.fury.io/js/jquery.marker-animation.svg)](https://badge.fury.io/js/jquery.marker-animation)
44
[![Build Status](https://github.com/technote-space/jquery.marker-animation/workflows/Build/badge.svg)](https://github.com/technote-space/jquery.marker-animation/actions)
55
[![Build Status](https://travis-ci.com/technote-space/jquery.marker-animation.svg?branch=master)](https://travis-ci.com/technote-space/jquery.marker-animation)
6-
[![Coverage Status](https://coveralls.io/repos/github/technote-space/jquery.marker-animation/badge.svg?branch=master)](https://coveralls.io/github/technote-space/jquery.marker-animation?branch=master)
6+
[![codecov](https://codecov.io/gh/technote-space/jquery.marker-animation/branch/master/graph/badge.svg)](https://codecov.io/gh/technote-space/jquery.marker-animation)
77
[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/jquery.marker-animation/badge)](https://www.codefactor.io/repository/github/technote-space/jquery.marker-animation)
88
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/jquery.marker-animation/blob/master/LICENSE)
99

@@ -144,4 +144,4 @@ $('.marker-animation').markerAnimation({
144144
* 太文字ではない
145145
* 2秒遅れてアニメーション開始
146146

147-
が設定されます。
147+
が設定されます。

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version](https://badge.fury.io/js/jquery.marker-animation.svg)](https://badge.fury.io/js/jquery.marker-animation)
44
[![Build Status](https://github.com/technote-space/jquery.marker-animation/workflows/Build/badge.svg)](https://github.com/technote-space/jquery.marker-animation/actions)
55
[![Build Status](https://travis-ci.com/technote-space/jquery.marker-animation.svg?branch=master)](https://travis-ci.com/technote-space/jquery.marker-animation)
6-
[![Coverage Status](https://coveralls.io/repos/github/technote-space/jquery.marker-animation/badge.svg?branch=master)](https://coveralls.io/github/technote-space/jquery.marker-animation?branch=master)
6+
[![codecov](https://codecov.io/gh/technote-space/jquery.marker-animation/branch/master/graph/badge.svg)](https://codecov.io/gh/technote-space/jquery.marker-animation)
77
[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/jquery.marker-animation/badge)](https://www.codefactor.io/repository/github/technote-space/jquery.marker-animation)
88
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/jquery.marker-animation/blob/master/LICENSE)
99

0 commit comments

Comments
 (0)