Skip to content

Commit

Permalink
add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed May 2, 2021
1 parent 38203cd commit b00a1e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ jobs:
run: npm ci --prefer-offline --no-audit

- name: Run Tests
run: npm test
run: npm run cov

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Compiles
run: npm run build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<a href="https://github.com/StarpTech/graphql-registry/actions?query=workflow%3ABENCH">
<img src="https://github.com/StarpTech/graphql-registry/actions/workflows/bench.yml/badge.svg" alt="BENCH" />
</a>
<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>
</div>

<div align="center">GraphQL registry</div>
Expand Down

0 comments on commit b00a1e0

Please sign in to comment.