Skip to content

Commit

Permalink
chore: add coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcamargo committed Jun 12, 2020
1 parent 53d5f89 commit 5ff66b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
@@ -1,6 +1,8 @@
# Javascript Node CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
version: 2
version: 2.1
orbs:
coveralls: coveralls/coveralls@1.0.6
jobs:
build:
docker:
Expand Down Expand Up @@ -34,4 +36,6 @@ jobs:

- run:
name: Test
command: npm run test -- --coverage --coverageReporters=lcov && ./node_modules/codecov/bin/codecov
command: npm run test -- --maxWorkers=2 --coverage --coverageReporters=lcov && ./node_modules/codecov/bin/codecov

- coveralls/upload
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -3,6 +3,7 @@
> The easiest way to demonstrate your code in action.
[![CircleCI](https://circleci.com/gh/glorious-codes/glorious-demo.svg?style=svg)](https://circleci.com/gh/glorious-codes/glorious-demo)
[![Coverage Status](https://coveralls.io/repos/github/glorious-codes/glorious-demo/badge.svg?branch=master)](https://coveralls.io/github/glorious-codes/glorious-demo?branch=master)

<p align="center">
<img width="480" src="https://user-images.githubusercontent.com/4738687/49405334-49505c80-f739-11e8-992e-32f4b6e18311.gif" />
Expand Down

0 comments on commit 5ff66b0

Please sign in to comment.