@@ -160,7 +160,7 @@ jobs:
160
160
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : True
161
161
PYVERSION : python39
162
162
REDIS_URL : redis://localhost:6379
163
- - image : cimg/redis
163
+ - image : cimg/redis:6.2.6
164
164
auth :
165
165
username : dashautomation
166
166
password : $DASH_PAT_DOCKERHUB
@@ -172,7 +172,9 @@ jobs:
172
172
- run : cat requires-*.txt > requires-all.txt
173
173
- restore_cache :
174
174
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
175
- - browser-tools/install-browser-tools
175
+ - browser-tools/install-browser-tools :
176
+ install-firefox : false
177
+ install-geckodriver : false
176
178
- attach_workspace :
177
179
at : ~/dash
178
180
- run :
@@ -206,7 +208,7 @@ jobs:
206
208
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : True
207
209
PYVERSION : python36
208
210
REDIS_URL : redis://localhost:6379
209
- - image : cimg/redis
211
+ - image : cimg/redis:6.2.6
210
212
auth :
211
213
username : dashautomation
212
214
password : $DASH_PAT_DOCKERHUB
@@ -267,7 +269,9 @@ jobs:
267
269
- run : cat requires-*.txt > requires-all.txt
268
270
- restore_cache :
269
271
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
270
- - browser-tools/install-browser-tools
272
+ - browser-tools/install-browser-tools :
273
+ install-firefox : false
274
+ install-geckodriver : false
271
275
- attach_workspace :
272
276
at : ~/dash
273
277
- run :
@@ -282,7 +286,7 @@ jobs:
282
286
. venv/bin/activate && rm -rf components/dash-core-components/dash_core_components
283
287
cd components/dash-core-components
284
288
TESTFILES=$(circleci tests glob "tests/integration/**/test_*.py" | circleci tests split --split-by=timings)
285
- pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}
289
+ pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-core-components." ${TESTFILES}
286
290
- store_artifacts :
287
291
path : ~/dash/components/dash-core-components/test-reports
288
292
- store_test_results :
@@ -322,7 +326,9 @@ jobs:
322
326
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
323
327
- restore_cache :
324
328
key : html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
325
- - browser-tools/install-browser-tools
329
+ - browser-tools/install-browser-tools :
330
+ install-firefox : false
331
+ install-geckodriver : false
326
332
- attach_workspace :
327
333
at : ~/dash
328
334
- run :
@@ -333,6 +339,7 @@ jobs:
333
339
pip list | grep dash
334
340
cd components/dash-html-components
335
341
npm ci
342
+ npm run prebuild
336
343
- save_cache :
337
344
key : html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
338
345
paths :
@@ -379,7 +386,9 @@ jobs:
379
386
- run : cat requires-*.txt > requires-all.txt
380
387
- restore_cache :
381
388
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
382
- - browser-tools/install-browser-tools
389
+ - browser-tools/install-browser-tools :
390
+ install-firefox : false
391
+ install-geckodriver : false
383
392
- attach_workspace :
384
393
at : ~/dash
385
394
- run :
@@ -398,7 +407,7 @@ jobs:
398
407
. venv/bin/activate
399
408
cd components/dash-table
400
409
TESTFILES=$(circleci tests glob "tests/selenium/**/test_*.py" | circleci tests split --split-by=timings)
401
- pytest --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}
410
+ pytest --nopercyfinalize --junitxml=test-reports/junit_intg.xml --junitprefix="components.dash-table." ${TESTFILES}
402
411
- store_artifacts :
403
412
path : ~/dash/components/dash-table/test-reports
404
413
- store_test_results :
@@ -422,7 +431,9 @@ jobs:
422
431
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
423
432
- restore_cache :
424
433
key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
425
- - browser-tools/install-browser-tools
434
+ - browser-tools/install-browser-tools :
435
+ install-firefox : false
436
+ install-geckodriver : false
426
437
- attach_workspace :
427
438
at : ~/dash
428
439
- run :
@@ -456,7 +467,9 @@ jobs:
456
467
path : ~/dash
457
468
- restore_cache :
458
469
key : dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
459
- - browser-tools/install-browser-tools
470
+ - browser-tools/install-browser-tools :
471
+ install-firefox : false
472
+ install-geckodriver : false
460
473
- run :
461
474
name : Install package.json
462
475
command : npm ci
0 commit comments