6
6
executors :
7
7
docker-container :
8
8
parameters :
9
- version :
9
+ python_version :
10
10
description : " python version"
11
11
default : " 3.10"
12
12
type : string
13
13
docker :
14
- - image : cimg/python:<<parameters.version >>-browsers
14
+ - image : cimg/python:<<parameters.python_version >>-browsers
15
15
16
16
commands :
17
17
test_core :
@@ -38,6 +38,8 @@ commands:
38
38
numpy_installed :
39
39
default : true
40
40
type : boolean
41
+ pandas_version :
42
+ type : string
41
43
steps :
42
44
- checkout
43
45
- browser-tools/install-chrome
@@ -53,6 +55,15 @@ commands:
53
55
cd js
54
56
npm ci
55
57
npm run build
58
+
59
+ - when :
60
+ condition : <<parameters.pandas_version>>
61
+ steps :
62
+ - run :
63
+ name : Install pandas
64
+ command : |
65
+ source .venv/bin/activate
66
+ uv pip install pandas==<<parameters.pandas_version>>
56
67
57
68
- run :
58
69
name : Test core
@@ -110,25 +121,29 @@ jobs:
110
121
111
122
test_core_py :
112
123
parameters :
113
- version :
124
+ python_version :
114
125
default : " 3.10"
115
126
type : string
116
127
executor :
117
128
name : docker-container
118
- version : <<parameters.version >>
129
+ python_version : <<parameters.python_version >>
119
130
steps :
120
131
- test_core
121
132
122
133
test_optional_py :
123
134
parameters :
124
- version :
135
+ python_version :
125
136
default : " 3.10"
126
137
type : string
138
+ pandas_version :
139
+ default : " 2"
140
+ type : string
127
141
executor :
128
142
name : docker-container
129
- version : <<parameters.version >>
143
+ python_version : <<parameters.python_version >>
130
144
steps :
131
- - test_optional
145
+ - test_optional :
146
+ pandas_version : <<parameters.pandas_version>>
132
147
133
148
# Percy
134
149
python_39_percy :
@@ -208,14 +223,6 @@ jobs:
208
223
locale
209
224
pytest -k 'not nodev' tests/test_core
210
225
no_output_timeout : 20m
211
- - run :
212
- name : Commit
213
- command : |
214
- git config --global user.email "[email protected] "
215
- git config --global user.name "Your Name"
216
- git add -A
217
- git commit -m "Codegen"
218
- when : always
219
226
- run :
220
227
name : Build source distribution packages
221
228
command : |
@@ -280,7 +287,7 @@ jobs:
280
287
- browser-tools/install-chromedriver
281
288
282
289
- run :
283
- name : install dependencies
290
+ name : Install dependencies
284
291
command : |
285
292
cd doc
286
293
curl -LsSf https://astral.sh/uv/install.sh | sh
@@ -394,7 +401,7 @@ workflows:
394
401
- test_core_py :
395
402
matrix :
396
403
parameters :
397
- version :
404
+ python_version :
398
405
- " 3.8"
399
406
- " 3.9"
400
407
- " 3.10"
@@ -403,11 +410,14 @@ workflows:
403
410
- test_optional_py :
404
411
matrix :
405
412
parameters :
406
- version :
413
+ python_version :
407
414
- " 3.8"
408
415
- " 3.9"
409
416
- " 3.10"
410
417
- " 3.11"
411
418
- " 3.12"
419
+ - test_optional_py :
420
+ python_version : " 3.9"
421
+ pandas_version : " 1.1"
412
422
- python_39_percy
413
423
- build-doc
0 commit comments