Commit 9e91c93 1 parent 2e709fd commit 9e91c93 Copy full SHA for 9e91c93
File tree 3 files changed +49
-33
lines changed
3 files changed +49
-33
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ docker :
5
+ - image : circleci/node:10
6
+ steps :
7
+ - checkout
8
+
9
+ - restore_cache :
10
+ name : Restore node_modules cache
11
+ keys :
12
+ - v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
13
+ - v1-node-{{ arch }}-{{ .Branch }}-
14
+ - v1-node-{{ arch }}-
15
+
16
+ - run :
17
+ name : Nodejs Version
18
+ command : node --version
19
+
20
+ - run :
21
+ name : Yarn Version
22
+ command : yarn --version
23
+
24
+ - run :
25
+ name : Install Packages
26
+ command : yarn install --frozen-lockfile
27
+
28
+ - run :
29
+ name : Run Tests
30
+ command : yarn test --maxWorkers=2
31
+
32
+ - save_cache :
33
+ name : Save node_modules cache
34
+ key : v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
35
+ paths :
36
+ - node_modules
37
+
38
+ - run :
39
+ name : Code Coverage
40
+ command : |
41
+ yarn add --dev coveralls
42
+ yarn test --maxWorkers=2 --coverage --coverageReporters=text-lcov | node_modules/.bin/coveralls
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # bs-react-testing-library
2
-
3
- [ ![ Build Status] [ travis-image ]] [ travis-url ]
4
- [ ![ npm] [ npm-image ]] [ npm-url ]
5
- [ ![ Coveralls] [ coveralls-image ]] [ coveralls-url ]
1
+ # bs-react-testing-library · ; [ ![ Build Status] [ circleci-image ]] [ circleci-url ] [ ![ npm] [ npm-image ]] [ npm-url ] [ ![ Coveralls] [ coveralls-image ]] [ coveralls-url ]
6
2
7
3
> [ BuckleScript] ( //github.com/BuckleScript/bucklescript ) bindings for [ react-testing-library] ( //github.com/kentcdodds/react-testing-library ) .
8
4
5
+ ## Documentation
6
+
7
+ [ ** Read the docs** ] ( //testing-library.com/docs/bs-react-testing-library/intro ) | [ Edit the docs] ( //github.com/alexkrolick/testing-library-docs )
8
+
9
9
## Installation
10
10
11
11
``` sh
@@ -85,8 +85,8 @@ $ yarn test
85
85
86
86
MIT © [ Neil Kistner] ( https://neilkistner.com )
87
87
88
- [ travis -image] : https://img.shields.io/travis /wyze/bs-react-testing-library.svg?style=flat-square
89
- [ travis -url] : https://travis-ci.org /wyze/bs-react-testing-library
88
+ [ circleci -image] : https://img.shields.io/circleci/project/github /wyze/bs-react-testing-library.svg?style=flat-square
89
+ [ circleci -url] : https://circleci.com/gh /wyze/bs-react-testing-library
90
90
91
91
[ npm-image ] : https://img.shields.io/npm/v/bs-react-testing-library.svg?style=flat-square
92
92
[ npm-url ] : https://npm.im/bs-react-testing-library
You can’t perform that action at this time.
0 commit comments