Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Add Coverage (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vschoener committed Feb 23, 2019
1 parent b2ad1e4 commit 98d7632
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
# specify the version you desire here
- image: circleci/node:10.0

working_directory: ~/repo

steps:
- checkout

- run:
name: update_npm_command
command: 'sudo npm install -g npm@latest'
- run: sudo npm install -g npm@latest

# Download and cache dependencies
- restore_cache:
Expand All @@ -23,16 +23,14 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run:
name: npm_install
command: 'npm install'
- run: npm install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run:
name: run_test
command: 'npm run test'
- run: npm run test

- run: npm run coverall
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CircleCI](https://circleci.com/gh/vschoener/dependency-injection-node.svg?style=svg)](https://circleci.com/gh/vschoener/dependency-injection-node)
[![CircleCI](https://circleci.com/gh/vschoener/dependency-injection-node.svg?style=svg)](https://circleci.com/gh/vschoener/dependency-injection-node) [![Coverage Status](https://coveralls.io/repos/github/organization/project/badge.svg?branch=master)](https://coveralls.io/github/vschoener/dependency-injection-node?branch=master)

# TypeScript Dependency Injection

Expand Down

0 comments on commit 98d7632

Please sign in to comment.