@@ -161,6 +161,9 @@ jobs:
161
161
PYVERSION : python39
162
162
REDIS_URL : redis://localhost:6379
163
163
- image : cimg/redis
164
+ auth :
165
+ username : dashautomation
166
+ password : $DASH_PAT_DOCKERHUB
164
167
parallelism : 3
165
168
steps :
166
169
- checkout :
@@ -204,6 +207,9 @@ jobs:
204
207
PYVERSION : python36
205
208
REDIS_URL : redis://localhost:6379
206
209
- image : cimg/redis
210
+ auth :
211
+ username : dashautomation
212
+ password : $DASH_PAT_DOCKERHUB
207
213
208
214
dcc-lint-unit-39 : &dcc-lint-unit
209
215
working_directory : ~/dash
@@ -314,15 +320,23 @@ jobs:
314
320
- run : cat requires-*.txt > requires-all.txt
315
321
- restore_cache :
316
322
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
323
+ - restore_cache :
324
+ key : html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
317
325
- browser-tools/install-browser-tools
318
326
- attach_workspace :
319
327
at : ~/dash
320
328
- run :
321
- name : ️️🏗️ Install package
329
+ name : ️️🏗️ Install package and html
322
330
command : |
323
331
. venv/bin/activate
324
332
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
325
333
pip list | grep dash
334
+ cd components/dash-html-components
335
+ npm ci
336
+ - save_cache :
337
+ key : html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
338
+ paths :
339
+ - components/dash-html-components/node_modules
326
340
- run :
327
341
name : 🧪 Run tests
328
342
command : |
@@ -372,7 +386,6 @@ jobs:
372
386
name : ️️🏗️ Install package
373
387
command : |
374
388
. venv/bin/activate
375
- npm install --production
376
389
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
377
390
pip list | grep dash
378
391
- run :
@@ -394,7 +407,7 @@ jobs:
394
407
path : /tmp/dash_artifacts
395
408
396
409
table-unit-test :
397
- working_directory : ~/dash/components/dash-table
410
+ working_directory : ~/dash
398
411
docker :
399
412
- image : cimg/python:3.9.9-browsers
400
413
environment :
@@ -407,16 +420,23 @@ jobs:
407
420
- run : cat requires-*.txt > requires-all.txt
408
421
- restore_cache :
409
422
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
423
+ - restore_cache :
424
+ key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
410
425
- browser-tools/install-browser-tools
411
426
- attach_workspace :
412
427
at : ~/dash
413
428
- run :
414
- name : ️️🏗️ Install package
429
+ name : ️️🏗️ Install package and table deps
415
430
command : |
416
431
. venv/bin/activate
417
- npm install --production
418
432
pip install dash-package/dash-package.tar.gz[ci,dev,testing,celery,diskcache] --progress-bar off
419
433
pip list | grep dash
434
+ cd components/dash-table
435
+ npm ci
436
+ - save_cache :
437
+ key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
438
+ paths :
439
+ - components/dash-table/node_modules
420
440
- run :
421
441
name : Run tests
422
442
command : |
0 commit comments