File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,35 @@ commands:
117
117
source .venv/bin/activate
118
118
python -m pytest -x test_init/test_lazy_imports.py
119
119
120
+ test_io_kaleido_v1 :
121
+ steps :
122
+ - checkout
123
+ - browser-tools/install-chrome
124
+ - browser-tools/install-chromedriver
125
+ - run :
126
+ name : Install dependencies
127
+ command : |
128
+ curl -LsSf https://astral.sh/uv/install.sh | sh
129
+ uv venv
130
+ source .venv/bin/activate
131
+ uv pip install .
132
+ uv pip install -r ./test_requirements/requirements_optional.txt
133
+ # Install Kaleido v1 instead of the default version
134
+ uv pip uninstall -y kaleido
135
+ uv pip install 'git+https://github.com/plotly/[email protected] #subdirectory=src/py'
136
+ - run :
137
+ name : List installed packages and python version
138
+ command : |
139
+ source .venv/bin/activate
140
+ uv pip list
141
+ python --version
142
+ - run :
143
+ name : Test plotly.io with Kaleido v1
144
+ command : |
145
+ source .venv/bin/activate
146
+ python -m pytest tests/test_io
147
+ no_output_timeout : 20m
148
+
120
149
jobs :
121
150
check-code-formatting :
122
151
docker :
@@ -166,6 +195,17 @@ jobs:
166
195
pandas_version : <<parameters.pandas_version>>
167
196
numpy_version : <<parameters.numpy_version>>
168
197
198
+ test_kaleido_v1 :
199
+ parameters :
200
+ python_version :
201
+ default : " 3.12"
202
+ type : string
203
+ executor :
204
+ name : docker-container
205
+ python_version : <<parameters.python_version>>
206
+ steps :
207
+ - test_io_kaleido_v1
208
+
169
209
# Percy
170
210
python_311_percy :
171
211
docker :
@@ -448,5 +488,10 @@ workflows:
448
488
python_version : " 3.9"
449
489
pandas_version : " 1.2.4"
450
490
numpy_version : " 1.26.4"
491
+ - test_kaleido_v1 :
492
+ matrix :
493
+ parameters :
494
+ python_version :
495
+ - " 3.12"
451
496
- python_311_percy
452
497
- build-doc
You can’t perform that action at this time.
0 commit comments