File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ commands:
8181 pytest plotly/tests/test_io
8282 no_output_timeout : 20m
8383 - run :
84- name : Test dependencies not imported
84+ name : Test dependencdies not imported
8585 command : |
8686 cd packages/python/plotly
8787 . venv/bin/activate
@@ -92,6 +92,46 @@ commands:
9292 cd packages/python/plotly
9393 . venv/bin/activate
9494 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+ npm install electron@1.8.4
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
95135
96136jobs :
97137 check-code-formatting :
You can’t perform that action at this time.
0 commit comments