5
5
6
6
browser-tools :
circleci/[email protected]
7
7
8
+
8
9
jobs :
9
10
artifacts :
10
11
docker :
35
36
username : dashautomation
36
37
password : $DASH_PAT_DOCKERHUB
37
38
environment :
38
- PYLINTRC : .pylintrc312
39
39
PYVERSION : python312
40
40
PERCY_ENABLE : 0
41
41
83
83
username : dashautomation
84
84
password : $DASH_PAT_DOCKERHUB
85
85
environment :
86
- PYLINTRC : .pylintrc
87
86
PYVERSION : python38
88
87
PERCY_ENABLE : 0
89
88
95
94
username : dashautomation
96
95
password : $DASH_PAT_DOCKERHUB
97
96
environment :
98
- PYLINTRC : .pylintrc312
99
97
PYVERSION : python312
100
98
PERCY_ENABLE : 0
101
99
@@ -107,7 +105,7 @@ jobs:
107
105
- restore_cache :
108
106
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
109
107
- browser-tools/install-browser-tools :
110
- chrome-version : 116 .0.5845.110
108
+ chrome-version : 120 .0.6099.71
111
109
- run :
112
110
name : ️️🏗️ pip dev requirements
113
111
command : |
@@ -137,7 +135,6 @@ jobs:
137
135
username : dashautomation
138
136
password : $DASH_PAT_DOCKERHUB
139
137
environment :
140
- PYLINTRC : .pylintrc
141
138
PYVERSION : python38
142
139
PERCY_ENABLE : 0
143
140
@@ -150,16 +147,26 @@ jobs:
150
147
PERCY_ENABLE : 0
151
148
steps :
152
149
- checkout
153
-
154
150
- run :
155
- name : " Install Python"
156
- command : choco install -y python --version=3.12.1
157
-
151
+ name : pip
152
+ command : |
153
+ python -m venv venv && . venv/Scripts/activate
154
+ pip install --no-cache-dir --upgrade -e .[ci,dev] --progress-bar off
155
+ - run :
156
+ command : |
157
+ nvm install 18 && nvm use 18
158
158
- run :
159
- name : ️️🏗️ build core
159
+ name : npm prereqs
160
160
command : |
161
- py -3.12 -m pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
162
- cd dash/dash-renderer && C:/Python312/Scripts/renderer.exe build && cd ../../
161
+ npm ci
162
+ cd dash/dash-renderer && npm i && cd ../../
163
+ cd components/dash-html-components && npm i && npm run extract && cd ../../
164
+ - run :
165
+ name : ️️🏗️ build dash
166
+ command : |
167
+ . venv/Scripts/activate
168
+ npm run private::build.jupyterlab && npm run private::build.renderer && python dash/development/update_components.py 'dash-html-components'
169
+ no_output_timeout : 30m
163
170
164
171
test-312 : &test
165
172
working_directory : ~/dash
@@ -188,7 +195,7 @@ jobs:
188
195
- restore_cache :
189
196
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
190
197
- browser-tools/install-browser-tools :
191
- chrome-version : 116 .0.5845.110
198
+ chrome-version : 120 .0.6099.71
192
199
install-firefox : false
193
200
install-geckodriver : false
194
201
- attach_workspace :
@@ -305,7 +312,7 @@ jobs:
305
312
- restore_cache :
306
313
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
307
314
- browser-tools/install-browser-tools :
308
- chrome-version : 116 .0.5845.110
315
+ chrome-version : 120 .0.6099.71
309
316
install-firefox : false
310
317
install-geckodriver : false
311
318
- attach_workspace :
@@ -376,7 +383,7 @@ jobs:
376
383
- restore_cache :
377
384
key : html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
378
385
- browser-tools/install-browser-tools :
379
- chrome-version : 116 .0.5845.110
386
+ chrome-version : 120 .0.6099.71
380
387
install-firefox : false
381
388
install-geckodriver : false
382
389
- attach_workspace :
@@ -450,7 +457,7 @@ jobs:
450
457
- restore_cache :
451
458
key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
452
459
- browser-tools/install-browser-tools :
453
- chrome-version : 116 .0.5845.110
460
+ chrome-version : 120 .0.6099.71
454
461
install-firefox : false
455
462
install-geckodriver : false
456
463
- attach_workspace :
@@ -506,7 +513,7 @@ jobs:
506
513
- restore_cache :
507
514
key : table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
508
515
- browser-tools/install-browser-tools :
509
- chrome-version : 116 .0.5845.110
516
+ chrome-version : 120 .0.6099.71
510
517
install-firefox : false
511
518
install-geckodriver : false
512
519
- attach_workspace :
@@ -544,7 +551,7 @@ jobs:
544
551
- restore_cache :
545
552
key : dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
546
553
- browser-tools/install-browser-tools :
547
- chrome-version : 116 .0.5845.110
554
+ chrome-version : 120 .0.6099.71
548
555
install-firefox : false
549
556
install-geckodriver : false
550
557
- run :
0 commit comments