Removing jest (for now); TODO: reinstate using tox

This commit is contained in:
James Barnsley
2020-02-08 10:08:37 +13:00
parent b07e52689b
commit 2c0b84bf4d
2 changed files with 2 additions and 20 deletions

View File

@ -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
View 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",