Skip to content

Commit b00a1e0

Browse files
committed
add coveralls support
1 parent 38203cd commit b00a1e0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ jobs:
4343
run: npm ci --prefer-offline --no-audit
4444

4545
- name: Run Tests
46-
run: npm test
46+
run: npm run cov
47+
48+
- name: Coveralls
49+
uses: coverallsapp/github-action@master
50+
with:
51+
github-token: ${{ secrets.GITHUB_TOKEN }}
4752

4853
- name: Compiles
4954
run: npm run build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<a href="https://github.com/StarpTech/graphql-registry/actions?query=workflow%3ABENCH">
1212
<img src="https://github.com/StarpTech/graphql-registry/actions/workflows/bench.yml/badge.svg" alt="BENCH" />
1313
</a>
14+
<a href='https://coveralls.io/github/StarpTech/graphql-registry?branch=main'><img src='https://coveralls.io/repos/github/StarpTech/graphql-registry/badge.svg?branch=main' alt='Coverage Status' /></a>
1415
</div>
1516

1617
<div align="center">GraphQL registry</div>

0 commit comments

Comments
 (0)