File tree Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -20,36 +20,42 @@ jobs:
20
20
name : Write Job name
21
21
command : echo $CIRCLE_JOB > circlejob.txt
22
22
23
- - restore_cache :
24
- key : deps1-{{ .Branch }}-{{ checksum "dev-requirements.txt" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
25
-
26
23
- run :
27
24
name : Install dependencies
28
25
command : |
29
- sudo pip install virtualenv --upgrade
26
+ sudo pip install --upgrade virtualenv
30
27
python -m venv venv || virtualenv venv
31
28
. venv/bin/activate
32
- pip install -e .
33
29
pip install -r dev-requirements.txt --quiet
34
- pip list | grep dash
35
30
npm install --ignore-scripts
36
31
37
- - run :
38
- name : Build
39
- command : npm run build
40
-
41
- - save_cache :
42
- key : deps1-{{ .Branch }}-{{ checksum "dev-requirements.txt" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
43
- paths :
44
- - " venv"
45
- - " node_modules"
46
-
47
32
- run :
48
33
name : Lint & format
49
34
command : |
50
35
npm run lint:test
51
36
npm run format:test
52
37
38
+ - run :
39
+ name : Install dependencies (dash)
40
+ command : |
41
+ git clone [email protected] :plotly/dash.git
42
+ git clone [email protected] :plotly/dash-core-components.git
43
+ git clone [email protected] :plotly/dash-html-components.git
44
+ git clone [email protected] :plotly/dash-table.git
45
+ . venv/bin/activate
46
+ pip install -e ./dash --quiet
47
+ cd dash-core-components && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
48
+ cd dash-html-components && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
49
+ cd dash-table && npm install --ignore-scripts && npm run build && pip install -e . && cd ..
50
+
51
+ - run :
52
+ name : Build
53
+ command : |
54
+ . venv/bin/activate
55
+ npm run build
56
+ pip install -e . --quiet
57
+ pip list | grep dash
58
+
53
59
- run :
54
60
name : Run tests
55
61
command : |
Original file line number Diff line number Diff line change 1
- -e git+git://github.com/plotly/dash.git@master#egg=dash
2
- -e git+git://github.com/plotly/dash-core-components@fix-select-css#egg=dash-core-components
3
1
percy
4
2
selenium
5
3
mock
6
- six
4
+ six
You can’t perform that action at this time.
0 commit comments