|
5 | 5 |
|
6 | 6 | browser-tools: circleci/[email protected]
|
7 | 7 |
|
| 8 | + |
8 | 9 | jobs:
|
9 | 10 | artifacts:
|
10 | 11 | docker:
|
@@ -107,7 +108,7 @@ jobs:
|
107 | 108 | - restore_cache:
|
108 | 109 | key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
|
109 | 110 | - browser-tools/install-browser-tools:
|
110 |
| - chrome-version: 116.0.5845.110 |
| 111 | + chrome-version: 120.0.6099.71 |
111 | 112 | - run:
|
112 | 113 | name: ️️🏗️ pip dev requirements
|
113 | 114 | command: |
|
@@ -150,16 +151,26 @@ jobs:
|
150 | 151 | PERCY_ENABLE: 0
|
151 | 152 | steps:
|
152 | 153 | - checkout
|
153 |
| - |
154 | 154 | - run:
|
155 |
| - name: "Install Python" |
156 |
| - command: choco install -y python --version=3.12.1 |
157 |
| - |
| 155 | + name: pip |
| 156 | + command: | |
| 157 | + python -m venv venv && . venv/Scripts/activate |
| 158 | + pip install --no-cache-dir --upgrade -e .[ci,dev] --progress-bar off |
| 159 | + - run: |
| 160 | + command: | |
| 161 | + nvm install 18 && nvm use 18 |
158 | 162 | - run:
|
159 |
| - name: ️️🏗️ build core |
| 163 | + name: npm prereqs |
160 | 164 | 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 ../../ |
| 165 | + npm ci |
| 166 | + cd dash/dash-renderer && npm i && cd ../../ |
| 167 | + cd components/dash-html-components && npm i && npm run extract && cd ../../ |
| 168 | + - run: |
| 169 | + name: ️️🏗️ build dash |
| 170 | + command: | |
| 171 | + . venv/Scripts/activate |
| 172 | + npm run private::build.jupyterlab && npm run private::build.renderer && python dash/development/update_components.py 'dash-html-components' |
| 173 | + no_output_timeout: 30m |
163 | 174 |
|
164 | 175 | test-312: &test
|
165 | 176 | working_directory: ~/dash
|
@@ -188,7 +199,7 @@ jobs:
|
188 | 199 | - restore_cache:
|
189 | 200 | key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
|
190 | 201 | - browser-tools/install-browser-tools:
|
191 |
| - chrome-version: 116.0.5845.110 |
| 202 | + chrome-version: 120.0.6099.71 |
192 | 203 | install-firefox: false
|
193 | 204 | install-geckodriver: false
|
194 | 205 | - attach_workspace:
|
@@ -305,7 +316,7 @@ jobs:
|
305 | 316 | - restore_cache:
|
306 | 317 | key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
|
307 | 318 | - browser-tools/install-browser-tools:
|
308 |
| - chrome-version: 116.0.5845.110 |
| 319 | + chrome-version: 120.0.6099.71 |
309 | 320 | install-firefox: false
|
310 | 321 | install-geckodriver: false
|
311 | 322 | - attach_workspace:
|
@@ -376,7 +387,7 @@ jobs:
|
376 | 387 | - restore_cache:
|
377 | 388 | key: html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
|
378 | 389 | - browser-tools/install-browser-tools:
|
379 |
| - chrome-version: 116.0.5845.110 |
| 390 | + chrome-version: 120.0.6099.71 |
380 | 391 | install-firefox: false
|
381 | 392 | install-geckodriver: false
|
382 | 393 | - attach_workspace:
|
@@ -450,7 +461,7 @@ jobs:
|
450 | 461 | - restore_cache:
|
451 | 462 | key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
|
452 | 463 | - browser-tools/install-browser-tools:
|
453 |
| - chrome-version: 116.0.5845.110 |
| 464 | + chrome-version: 120.0.6099.71 |
454 | 465 | install-firefox: false
|
455 | 466 | install-geckodriver: false
|
456 | 467 | - attach_workspace:
|
@@ -506,7 +517,7 @@ jobs:
|
506 | 517 | - restore_cache:
|
507 | 518 | key: table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
|
508 | 519 | - browser-tools/install-browser-tools:
|
509 |
| - chrome-version: 116.0.5845.110 |
| 520 | + chrome-version: 120.0.6099.71 |
510 | 521 | install-firefox: false
|
511 | 522 | install-geckodriver: false
|
512 | 523 | - attach_workspace:
|
@@ -544,7 +555,7 @@ jobs:
|
544 | 555 | - restore_cache:
|
545 | 556 | key: dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
|
546 | 557 | - browser-tools/install-browser-tools:
|
547 |
| - chrome-version: 116.0.5845.110 |
| 558 | + chrome-version: 120.0.6099.71 |
548 | 559 | install-firefox: false
|
549 | 560 | install-geckodriver: false
|
550 | 561 | - run:
|
|
0 commit comments