It seems that the `pushd ... popd` line masks any errors that nosetests command signals, so we put the three commands on different lines.
@@ -21,8 +21,10 @@ npm run test:coverage || npm run test:coverage
# Run the python tests
npm run build:serverextension
-pushd jupyterlab && nosetests && popd
-
+python setup.py build
+pushd jupyterlab
+nosetests
+popd
npm run build:examples
npm run docs
cp jupyter-plugins-demo.gif docs