Skip to content

Commit

Permalink
feat: Adding codeclimate coverage reporter (#29)
Browse files Browse the repository at this point in the history
* feat: Adding codeclimate reporter

Signed-off-by: Žiga Strgar <ziga.strgar@gmail.com>

* docs: Code coverage badge

Signed-off-by: Žiga Strgar <ziga.strgar@gmail.com>

Signed-off-by: Žiga Strgar <ziga.strgar@gmail.com>
  • Loading branch information
ZigaStrgar committed Sep 1, 2022
1 parent 0c9e67e commit 2f7dbec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ jobs:

- run: npm test
name: Run tests

- name: Publish code coverage
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_COVERAGE_REPORTER }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
![CI workflow](https://github.com/ZigaStrgar/fastify-bugsnag/workflows/fastify-bugsnag-ci/badge.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/ZigaStrgar/fastify-bugsnag/badge.svg)](https://snyk.io/test/github/ZigaStrgar/fastify-bugsnag)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ad24873a9f9078ff0b04/test_coverage)](https://codeclimate.com/github/ZigaStrgar/fastify-bugsnag/test_coverage)

Easily send your application errors to [Bugsnag](https://bugsnag.com) from your [Fastify](https://www.fastify.io/)
server.
Expand Down

0 comments on commit 2f7dbec

Please sign in to comment.