Skip to content

Commit

Permalink
chore: Upload coverage reports to Codecov (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Dec 5, 2020
1 parent 2a9f632 commit ead734b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ jobs:
if: |
contains(github.event.commits[0].message, '[skip ci]') == false &&
contains(github.event.commits[0].message, '[ci skip]') == false
- name: 'Upload coverage reports to Codecov'
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false
file: ./coverage/lcov.info
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# IG Trading API

![Language Details](https://img.shields.io/github/languages/top/bennycode/ig-trading-api) ![License](https://img.shields.io/npm/l/ig-trading-api.svg) ![Package Version](https://img.shields.io/npm/v/ig-trading-api.svg) ![Dependency Updates](https://img.shields.io/david/bennycode/ig-trading-api.svg)
![Language Details](https://img.shields.io/github/languages/top/bennycode/ig-trading-api) ![Code Coverage](https://img.shields.io/codecov/c/github/bennycode/ig-trading-api/main) ![License](https://img.shields.io/npm/l/ig-trading-api.svg) ![Package Version](https://img.shields.io/npm/v/ig-trading-api.svg) ![Dependency Updates](https://img.shields.io/david/bennycode/ig-trading-api.svg)

Unofficial [IG Trading API](https://labs.ig.com/rest-trading-api-guide) for Node.js, written in TypeScript and covered by tests.

## Features

- **Typed.** Source code is 100% TypeScript. No need to install external typings.
- **Tested.** Code coverage is 100%. No surprises when using [ig-trading-api][1].
- **Maintained.** Automated security updates. No threats from outdated dependencies.
- **Documented.** Get started with the [generated documentation][2].

## Installation

**npm**
Expand Down Expand Up @@ -49,3 +56,6 @@ console.info(`Your client ID is "${session.clientId}".`);

- [IG API Companion](https://labs.ig.com/sample-apps/api-companion/index.html)
- [IG REST Trading API Reference](https://labs.ig.com/rest-trading-api-reference)

[1]: https://www.npmjs.com/package/ig-trading-api
[2]: https://bennycode.com/ig-trading-api

0 comments on commit ead734b

Please sign in to comment.