-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
6,197 additions
and
14,312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,27 @@ | ||
version: 2 | ||
version: 2.1 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:latest | ||
orbs: | ||
node: circleci/node@4.7.0 | ||
codecov: codecov/codecov@3.2.0 | ||
|
||
jobs: | ||
test: | ||
executor: | ||
name: node/default | ||
tag: 'current' | ||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
keys: | ||
- dependencies-v2-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Install global packages | ||
command: sudo npm install -g codecov | ||
|
||
- run: | ||
name: Install dependencies | ||
command: npm install | ||
|
||
- save_cache: | ||
key: dependencies-v2-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
|
||
- node/install-packages | ||
- run: | ||
name: Javascript Linter | ||
command: npm run lint | ||
|
||
- run: | ||
name: All Unit Tests with Code Coverage | ||
name: Unit tests with code coverage | ||
command: npm run test:unit:cov | ||
|
||
# Mutation Tests do not run reliably on CI | ||
# - run: | ||
# name: Mutation Tests | ||
# command: npm run test:mutants | ||
|
||
- run: | ||
name: Send reports to codecov.io | ||
command: codecov | ||
workflows: | ||
node-tests: | ||
jobs: | ||
- test: | ||
post-steps: | ||
- codecov/upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.