@@ -7,11 +7,17 @@ jobs:
name: Linux
strategy:
matrix:
- group: [js, integrity, python, usage, docs, nonode]
+ group: [js, js:application, js:apputils, js:cells, integrity, python, usage, docs, nonode]
python: [3.5, 3.8]
exclude:
- group: js
python: 3.5
+ - group: js:application
+ python: 3.5
+ - group: js:apputils
+ - group: js:cells
- group: integrity
- group: docs
@@ -75,6 +75,7 @@
"test:examples": "python examples/test_examples.py",
"test:firefox": "lerna run test:firefox --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
"test:ie": "lerna run test:ie --scope \"@jupyterlab/test-*\" --concurrency 1 --stream",
+ "test:scope": "lerna run test --concurrency 1 --stream",
"test:summary": "lerna run test --scope \"@jupyterlab/test-*\" --parallel --no-bail | grep -Ei '.* test.*(failed|passed|total|completed|skipped)' | sort",
"tslint": "tslint --fix -c tslint.json --project tsconfigbase.json '**/*{.ts,.tsx}'",
"tslint:check": "tslint -c tslint.json --project tsconfigbase.json '**/*{.ts,.tsx}'",
@@ -17,11 +17,26 @@ if [[ $GROUP == python ]]; then
fi
-if [[ $GROUP == js ]]; then
+if [[ $GROUP == js* ]]; then
jlpm build:packages
jlpm build:test
- FORCE_COLOR=1 jlpm test --loglevel success
+
+ if [[ $GROUP == js:* ]]; then
+ # extract the group name
+ FORCE_COLOR=1 jlpm test:scope --loglevel success --scope "@jupyterlab/test-${GROUP#*:}"
+ else
+ FORCE_COLOR=1 jlpm test --loglevel success
+ fi
+ jlpm run clean
+fi
+if [[ $GROUP == jsscope ]]; then
+ jlpm build:packages
+ jlpm build:test
+ FORCE_COLOR=1 jlpm test:scope --loglevel success --scope $JSTESTGROUP
jlpm run clean