mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-29 15:44:13 +00:00
Run test suite on CI
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
parent
1c27ebc354
commit
f625a1bcb0
@ -40,8 +40,9 @@ RUN JOBS=MAX npm install --no-optional --unsafe-perm
|
||||
|
||||
COPY webpack.config.js fix-jsonstream.js hardcode-migrations.js /usr/src/app/
|
||||
COPY src /usr/src/app/src
|
||||
COPY test /usr/src/app/test
|
||||
|
||||
RUN npm run lint \
|
||||
RUN npm test \
|
||||
&& npm run build
|
||||
|
||||
##############################################################################
|
||||
|
@ -12,7 +12,7 @@
|
||||
"build": "webpack",
|
||||
"lint": "resin-lint src/",
|
||||
"versionist": "versionist",
|
||||
"test": "mocha -r coffee-script/register test/**/*"
|
||||
"test": "npm run lint && mocha -r coffee-script/register test/**/*"
|
||||
},
|
||||
"dependencies": {
|
||||
"mkfifo": "^0.1.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user