Skip to content

Commit bcbb3c1

Browse files
Merge branch 'dev' into make-graph-height-more-responsive
2 parents 017c71c + 0fffb14 commit bcbb3c1

File tree

165 files changed

+25825
-26124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+25825
-26124
lines changed

.circleci/config.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,20 @@ jobs:
5353
set -eo pipefail
5454
pip install -e .[ci,dev,testing,celery,diskcache] --progress-bar off
5555
pip list | grep dash
56-
npm i
57-
npm run build
56+
npm ci
57+
npm run build.sequential
5858
python setup.py sdist
5959
mkdir dash-package && cp dist/*.tar.gz dash-package/dash-package.tar.gz
6060
ls -la dash-package
6161
no_output_timeout: 30m
62+
- run:
63+
name: Display npm errors and exit on failed builds
64+
command: |
65+
if [ -d "/home/circleci/.npm/_logs" ]
66+
then
67+
cat /home/circleci/.npm/_logs/*
68+
exit 1
69+
fi
6270
- save_cache:
6371
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
6472
paths:
@@ -111,8 +119,8 @@ jobs:
111119
. venv/bin/activate
112120
set -eo pipefail
113121
pip install -e . --progress-bar off && pip list | grep dash
114-
npm install --production && npm run initialize
115-
npm run build
122+
npm ci npm run initialize
123+
npm run build.sequential
116124
npm run lint
117125
- run:
118126
name: 🐍 Python Unit Tests & ☕ JS Unit Tests
@@ -181,7 +189,7 @@ jobs:
181189
name: ️️🏗️ Install package
182190
command: |
183191
. venv/bin/activate
184-
npm install
192+
npm ci
185193
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
186194
pip list | grep dash
187195
- run:
@@ -286,7 +294,7 @@ jobs:
286294
. venv/bin/activate && rm -rf components/dash-core-components/dash_core_components
287295
cd components/dash-core-components
288296
TESTFILES=$(circleci tests glob "tests/integration/**/test_*.py" | circleci tests split --split-by=timings)
289-
pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-core-components" ${TESTFILES}
297+
pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-core-components" ${TESTFILES} --reruns 3
290298
- store_artifacts:
291299
path: ~/dash/components/dash-core-components/test-reports
292300
- store_test_results:
@@ -377,7 +385,7 @@ jobs:
377385
PERCY_ENABLE: 1
378386
PERCY_PARALLEL_TOTAL: -1
379387

380-
parallelism: 4
388+
parallelism: 5
381389

382390
steps:
383391
- checkout:

.husky/pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
npm run lint
1+
npm run lint && \
2+
(cd components/dash-core-components && npm run lint) && \
3+
(cd components/dash-table && npm run lint)

0 commit comments

Comments
 (0)