5555 - save_cache :
5656 key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
5757 paths :
58- - venv
58+ - venv
5959 - run :
6060 name : 🌸 Python & JS Lint
6161 command : |
@@ -71,26 +71,26 @@ jobs:
7171 npm run citest.unit
7272
7373 lint-unit-36 :
74- << : *lint-unit
75- docker :
76- - image : circleci/python:3.6.12-stretch-node-browsers
77- auth :
78- username : dashautomation
79- password : $DASH_PAT_DOCKERHUB
80- environment :
81- PYLINTRC : .pylintrc
82- PYVERSION : python36
74+ << : *lint-unit
75+ docker :
76+ - image : circleci/python:3.6.12-stretch-node-browsers
77+ auth :
78+ username : dashautomation
79+ password : $DASH_PAT_DOCKERHUB
80+ environment :
81+ PYLINTRC : .pylintrc
82+ PYVERSION : python36
8383
8484 lint-unit-27 :
85- << : *lint-unit
86- docker :
87- - image : circleci/python:2.7.18-stretch-node-browsers
88- auth :
89- username : dashautomation
90- password : $DASH_PAT_DOCKERHUB
91- environment :
92- PYLINTRC : .pylintrc
93- PYVERSION : python27
85+ << : *lint-unit
86+ docker :
87+ - image : circleci/python:2.7.18-stretch-node-browsers
88+ auth :
89+ username : dashautomation
90+ password : $DASH_PAT_DOCKERHUB
91+ environment :
92+ PYLINTRC : .pylintrc
93+ PYVERSION : python27
9494
9595 build-core-37 : &build-core
9696 working_directory : ~/dash
@@ -107,7 +107,7 @@ jobs:
107107 - restore_cache :
108108 key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
109109 - run :
110- name : ️️ 🏗️ pip dev requirements
110+ name : ️ 🏗️ pip dev requirements
111111 command : |
112112 sudo pip install --upgrade virtualenv
113113 python -m venv venv || virtualenv venv && . venv/bin/activate
@@ -116,39 +116,39 @@ jobs:
116116 - save_cache :
117117 key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
118118 paths :
119- - venv
119+ - venv
120120 - run :
121121 name : ️️🏗️ build core
122122 command : |
123- . venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
124- cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
125- git clone --depth 1 https://github.com/plotly/dash-core-components.git
126- cd dash-core-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
127- ls -la packages
123+ . venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
124+ cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
125+ git clone --depth 1 https://github.com/plotly/dash-core-components.git
126+ cd dash-core-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
127+ ls -la packages
128128 - persist_to_workspace :
129129 root : ~/dash
130130 paths :
131131 - packages/*.tar.gz
132132
133133 build-core-36 :
134- << : *build-core
135- docker :
136- - image : circleci/python:3.6.12-stretch-node-browsers
137- auth :
138- username : dashautomation
139- password : $DASH_PAT_DOCKERHUB
140- environment :
141- PYVERSION : python36
134+ << : *build-core
135+ docker :
136+ - image : circleci/python:3.6.12-stretch-node-browsers
137+ auth :
138+ username : dashautomation
139+ password : $DASH_PAT_DOCKERHUB
140+ environment :
141+ PYVERSION : python36
142142
143143 build-core-27 :
144- << : *build-core
145- docker :
146- - image : circleci/python:2.7.18-stretch-node-browsers
147- auth :
148- username : dashautomation
149- password : $DASH_PAT_DOCKERHUB
150- environment :
151- PYVERSION : python27
144+ << : *build-core
145+ docker :
146+ - image : circleci/python:2.7.18-stretch-node-browsers
147+ auth :
148+ username : dashautomation
149+ password : $DASH_PAT_DOCKERHUB
150+ environment :
151+ PYVERSION : python27
152152
153153 build-misc-37 : &build-misc
154154 working_directory : ~/dash
@@ -174,40 +174,40 @@ jobs:
174174 - save_cache :
175175 key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
176176 paths :
177- - venv
177+ - venv
178178 - run :
179179 name : ️️🏗️ build misc
180180 command : |
181- . venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
182- git clone --depth 1 https://github.com/plotly/dash-table.git
183- cd dash-table && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
184- git clone --depth 1 https://github.com/plotly/dash-html-components.git
185- cd dash-html-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
186- ls -la packages
181+ . venv/bin/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
182+ git clone --depth 1 https://github.com/plotly/dash-table.git
183+ cd dash-table && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
184+ git clone --depth 1 https://github.com/plotly/dash-html-components.git
185+ cd dash-html-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
186+ ls -la packages
187187 - persist_to_workspace :
188188 root : ~/dash
189189 paths :
190190 - packages/*.tar.gz
191191
192192 build-misc-36 :
193- << : *build-misc
194- docker :
195- - image : circleci/python:3.6.12-stretch-node-browsers
196- auth :
197- username : dashautomation
198- password : $DASH_PAT_DOCKERHUB
199- environment :
200- PYVERSION : python36
193+ << : *build-misc
194+ docker :
195+ - image : circleci/python:3.6.12-stretch-node-browsers
196+ auth :
197+ username : dashautomation
198+ password : $DASH_PAT_DOCKERHUB
199+ environment :
200+ PYVERSION : python36
201201
202202 build-misc-27 :
203- << : *build-misc
204- docker :
205- - image : circleci/python:2.7.18-stretch-node-browsers
206- auth :
207- username : dashautomation
208- password : $DASH_PAT_DOCKERHUB
209- environment :
210- PYVERSION : python27
203+ << : *build-misc
204+ docker :
205+ - image : circleci/python:2.7.18-stretch-node-browsers
206+ auth :
207+ username : dashautomation
208+ password : $DASH_PAT_DOCKERHUB
209+ environment :
210+ PYVERSION : python27
211211
212212 build-windows-37 :
213213 working_directory : ~/dash
@@ -222,10 +222,10 @@ jobs:
222222 - run :
223223 name : ️️🏗️ build core
224224 command : |
225- pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
226- cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
227- git clone --depth 1 https://github.com/plotly/dash-core-components.git
228- cd dash-core-components && npm ci && npm run build && python setup.py sdist && cd ..
225+ pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
226+ cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
227+ git clone --depth 1 https://github.com/plotly/dash-core-components.git
228+ cd dash-core-components && npm ci && npm run build && python setup.py sdist && cd ..
229229
230230 build-dashr :
231231 working_directory : ~/dashr
@@ -241,9 +241,8 @@ jobs:
241241
242242 steps :
243243 - checkout
244-
245244 - run :
246- name : ️️ 🏭 clone and npm build core for R
245+ name : 🏭 clone and npm build core for R
247246 command : |
248247 python -m venv venv
249248 . venv/bin/activate
@@ -259,7 +258,7 @@ jobs:
259258 cd ../dash-table; npm ci && npm run build; rm -rf !(.|..|DESCRIPTION|LICENSE.txt|LICENSE|NAMESPACE|.Rbuildignore|R|man|inst|vignettes|build); cd ..
260259
261260 - run :
262- name : 🔧fix up dash metadata
261+ name : 🔧 fix up dash metadata
263262 command : |
264263 sudo Rscript dashR/tests/circleci/fixup_metadata.R
265264
@@ -282,7 +281,7 @@ jobs:
282281 >> ${BASH_ENV}
283282
284283 - run :
285- name : ️️ 📋 run CRAN package checks
284+ name : ️ 📋 run CRAN package checks
286285 command : |
287286 R CMD build dash-core-components
288287 R CMD build dash-html-components
@@ -331,7 +330,6 @@ jobs:
331330 path : test-reports
332331 - store_artifacts :
333332 path : /tmp/dash_artifacts
334-
335333 - run :
336334 name : 🦔 percy finalize
337335 command : npx percy finalize --all
@@ -358,7 +356,7 @@ jobs:
358356 - attach_workspace :
359357 at : ~/dash
360358 - run :
361- name : ️️🏗️ Install packages
359+ name : ️️🏗️ Install packages
362360 command : |
363361 . venv/bin/activate
364362 npm install --production
@@ -384,53 +382,45 @@ jobs:
384382 when : on_fail
385383
386384 test-36 :
387- << : *test
388- docker :
389- - image : circleci/python:3.6.12-stretch-node-browsers
390- auth :
391- username : dashautomation
392- password : $DASH_PAT_DOCKERHUB
393- environment :
394- PERCY_ENABLE : 0
395- PYVERSION : python36
385+ << : *test
386+ docker :
387+ - image : circleci/python:3.6.12-stretch-node-browsers
388+ auth :
389+ username : dashautomation
390+ password : $DASH_PAT_DOCKERHUB
391+ environment :
392+ PERCY_ENABLE : 0
393+ PYVERSION : python36
396394
397395 test-27 :
398- << : *test
399- docker :
400- - image : circleci/python:2.7.18-stretch-node-browsers
401- auth :
402- username : dashautomation
403- password : $DASH_PAT_DOCKERHUB
404- environment :
405- PERCY_ENABLE : 0
406- PYVERSION : python27
396+ << : *test
397+ docker :
398+ - image : circleci/python:2.7.18-stretch-node-browsers
399+ auth :
400+ username : dashautomation
401+ password : $DASH_PAT_DOCKERHUB
402+ environment :
403+ PERCY_ENABLE : 0
404+ PYVERSION : python27
407405
408406workflows :
409407 version : 2
410408 python3.7 :
411409 jobs :
412- - lint-unit-37 :
413- context : dash-docker-hub
414- - build-core-37 :
415- context : dash-docker-hub
416- - build-windows-37 :
417- context : dash-docker-hub
418- - build-misc-37 :
419- context : dash-docker-hub
420- - build-dashr :
421- context : dash-docker-hub
410+ - lint-unit-37
411+ - build-core-37
412+ - build-windows-37
413+ - build-misc-37
414+ - build-dashr
422415 - test-37 :
423- context : dash-docker-hub
424416 requires :
425417 - build-core-37
426418 - build-misc-37
427419 - percy-finalize :
428- context : dash-docker-hub
429420 requires :
430421 - build-dashr
431422 - test-37
432423 - artifacts :
433- context : dash-docker-hub
434424 requires :
435425 - percy-finalize
436426 filters :
@@ -443,27 +433,19 @@ workflows:
443433
444434 python3.6 :
445435 jobs :
446- - lint-unit-36 :
447- context : dash-docker-hub
448- - build-core-36 :
449- context : dash-docker-hub
450- - build-misc-36 :
451- context : dash-docker-hub
436+ - lint-unit-36
437+ - build-core-36
438+ - build-misc-36
452439 - test-36 :
453- context : dash-docker-hub
454440 requires :
455441 - build-core-36
456442 - build-misc-36
457443 python2.7 :
458444 jobs :
459- - lint-unit-27 :
460- context : dash-docker-hub
461- - build-core-27 :
462- context : dash-docker-hub
463- - build-misc-27 :
464- context : dash-docker-hub
445+ - lint-unit-27
446+ - build-core-27
447+ - build-misc-27
465448 - test-27 :
466- context : dash-docker-hub
467449 requires :
468450 - build-core-27
469451 - build-misc-27
0 commit comments