Removing jest (for now); TODO: reinstate using tox
This commit is contained in:
@ -31,7 +31,7 @@ workflows:
|
|||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: deploy/test
|
only: deploy/test
|
||||||
- test:
|
- jest:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
filters:
|
filters:
|
||||||
@ -63,16 +63,9 @@ workflows:
|
|||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: deploy/release
|
only: deploy/release
|
||||||
- test:
|
|
||||||
requires:
|
|
||||||
- build
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only: deploy/release
|
|
||||||
- deploy:
|
- deploy:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
- test
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: deploy/release
|
only: deploy/release
|
||||||
@ -137,17 +130,6 @@ jobs:
|
|||||||
- mopidy_iris
|
- mopidy_iris
|
||||||
key: v1-dependencies-{{ checksum "VERSION.md" }}
|
key: v1-dependencies-{{ checksum "VERSION.md" }}
|
||||||
|
|
||||||
test:
|
|
||||||
docker:
|
|
||||||
- image: nikolaik/python-nodejs:python3.7-nodejs12-stretch
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- v1-dependencies-{{ checksum "VERSION.md" }}
|
|
||||||
- run:
|
|
||||||
name: Run tests
|
|
||||||
command: npm run test
|
|
||||||
deploy:
|
deploy:
|
||||||
docker:
|
docker:
|
||||||
- image: nikolaik/python-nodejs:python3.7-nodejs12-stretch
|
- image: nikolaik/python-nodejs:python3.7-nodejs12-stretch
|
||||||
|
|||||||
2
package.json
Normal file → Executable file
2
package.json
Normal file → Executable file
@ -65,7 +65,7 @@
|
|||||||
"webpack-strip": "0.1.0"
|
"webpack-strip": "0.1.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"jest": "jest",
|
||||||
"start": "webpack-dev-server",
|
"start": "webpack-dev-server",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"lint:fix": "eslint src --fix",
|
"lint:fix": "eslint src --fix",
|
||||||
|
|||||||
Reference in New Issue
Block a user