浏览代码

HUE-9090 [ci] Adding --runInBand parameter to js tests

Romain 6 年之前
父节点
当前提交
38f6524104
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .circleci/config.yml

+ 3 - 0
.circleci/config.yml

@@ -111,6 +111,9 @@ jobs:
           name: run js tests
           command: |
             cd /usr/share/hue
+
+            # https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-andor-continuous-integration-ci-server
+            sed -i 's/"test": "jest"/"test": "jest --runInBand"/g' package.json
             npm run test
 
       - store_artifacts: