Skip to content

Commit 9c14768

Browse files
committed
Add coveralls
1 parent 0065f7e commit 9c14768

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
run: npm i
2626
- name: Run tests
2727
run: npm test
28+
- name: Report coverage
29+
uses: coverallsapp/github-action@master
30+
with:
31+
github-token: ${{ secrets.GITHUB_TOKEN }}
2832
- name: Run build
2933
run: npm run build
3034
- name: Publish package

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Serverless Function Value Plugin
22

33
[![License][License Badge]](LICENSE)
4-
[![Version][Version Badge]](package.json#L32)
5-
![Node Version][Node Version Badge]
4+
[![Version][Version Badge]](package.json#L3)
5+
[![Node Version][Node Version Badge]](package.json#L35)
66
[![Build][CI Badge]][CI Workflow]
7+
[![Coverage][Coverage Badge]][Coverage Report]
78

89
Serverless framework plugin that will automatically generate CloudFormation
910
snippets to reference a functions name or ARN value based on the generated
@@ -111,3 +112,5 @@ This will format based on [.eslintrc](.eslintrc) settings.
111112
[Node Version Badge]: https://img.shields.io/node/v/serverless-plugin-function-value
112113
[CI Badge]: https://github.com/devpow112/serverless-plugin-function-value/workflows/build/badge.svg?branch=master
113114
[CI Workflow]: https://github.com/devpow112/serverless-plugin-function-value/actions?query=workflow%3Abuild+branch%3Amaster
115+
[Coverage Badge]: https://coveralls.io/repos/github/devpow112/serverless-plugin-function-value/badge.svg?branch=master
116+
[Coverage Report]: https://coveralls.io/github/devpow112/serverless-plugin-function-value?branch=master

0 commit comments

Comments
 (0)