File tree 1 file changed +41
-1
lines changed
1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ commands:
81
81
pytest plotly/tests/test_io
82
82
no_output_timeout : 20m
83
83
- run :
84
- name : Test dependencies not imported
84
+ name : Test dependencdies not imported
85
85
command : |
86
86
cd packages/python/plotly
87
87
. venv/bin/activate
@@ -92,6 +92,46 @@ commands:
92
92
cd packages/python/plotly
93
93
. venv/bin/activate
94
94
pytest -x test_init/test_lazy_imports.py
95
+ test_orca :
96
+ parameters :
97
+ py :
98
+ default : " 310"
99
+ type : string
100
+ steps :
101
+ - checkout
102
+ - browser-tools/install-chrome
103
+ - browser-tools/install-chromedriver
104
+ - run :
105
+ name : Install dependencies
106
+ command : |
107
+ cd packages/python/plotly
108
+ python -m venv venv
109
+ . venv/bin/activate
110
+ pip install --upgrade pip wheel
111
+ pip install -r ./test_requirements/requirements_<<parameters.py>>_optional.txt
112
+ - run :
113
+ name : Install plotly-geo
114
+ command : |
115
+ cd packages/python/plotly-geo
116
+ . ../plotly/venv/bin/activate
117
+ pip install -e .
118
+ - run :
119
+ name : Install orca
120
+ command : |
121
+
122
+ npm install orca
123
+ sudo apt-get update
124
+ sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
125
+ echo 'export PATH="/home/circleci/project/node_modules/.bin:$PATH"' >> $BASH_ENV
126
+ - run :
127
+ name : Test orca
128
+ command : |
129
+ cd packages/python/plotly
130
+ . venv/bin/activate
131
+ pytest plotly/tests/test_orca
132
+ no_output_timeout : 20m
133
+ - store_artifacts :
134
+ path : packages/python/plotly/plotly/tests/test_orca/images/linux/failed
95
135
96
136
jobs :
97
137
check-code-formatting :
You can’t perform that action at this time.
0 commit comments