Ver Fonte

fix handling of test build

Steven Silvester há 5 anos atrás
pai
commit
0bc3e6cfaf
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      scripts/ci_script.sh

+ 5 - 2
scripts/ci_script.sh

@@ -26,11 +26,14 @@ if [[ $GROUP == js* ]]; then
         here=$(pwd)
         if [[ -d "${here}/tests/test-${GROUP}" ]];then
             scope="@jupyterlab/test-${PKG}"
+            jlpm run build:test:scope --scope ${scope}
         else
+            pushd packages/${PKG}
+            jlpm run build:test
+            popd
             scope="@jupyterlab/${PKG}"
-            jlpm run build:testutils
         fi
-        jlpm run build:test:scope --scope ${scope}
+
         FORCE_COLOR=1 jlpm run test:scope --loglevel success --scope ${scope}
     else
         jlpm build:packages