5
5
6
6
commands :
7
7
test_core :
8
- parameters :
9
- py :
10
- default : " 310"
11
- type : string
12
8
steps :
13
9
- checkout
14
10
- browser-tools/install-chrome
@@ -29,9 +25,9 @@ commands:
29
25
30
26
test_optional :
31
27
parameters :
32
- py :
33
- default : " 310 "
34
- type : string
28
+ numpy_installed :
29
+ default : true
30
+ type : boolean
35
31
steps :
36
32
- checkout
37
33
- browser-tools/install-chrome
@@ -47,6 +43,16 @@ commands:
47
43
cd js
48
44
npm ci
49
45
npm run build
46
+ - when :
47
+ condition :
48
+ equal : ["<< parameters.numpy_installed >>", false]
49
+ steps :
50
+ - run :
51
+ name : Uninstall numpy
52
+ command : |
53
+ source .venv/bin/activate
54
+ uv pip uninstall numpy
55
+
50
56
- run :
51
57
name : Test core
52
58
command : |
@@ -106,105 +112,70 @@ jobs:
106
112
docker :
107
113
- image : cimg/python:3.8-browsers
108
114
steps :
109
- - test_core :
110
- py : " 38"
115
+ - test_core
111
116
112
117
python_39_core :
113
118
docker :
114
119
- image : cimg/python:3.9-browsers
115
120
steps :
116
- - test_core :
117
- py : " 39"
121
+ - test_core
118
122
119
123
python_310_core :
120
124
docker :
121
125
- image : cimg/python:3.10-browsers
122
126
steps :
123
- - test_core :
124
- py : " 310"
127
+ - test_core
125
128
126
129
python_311_core :
127
130
docker :
128
131
- image : cimg/python:3.11-browsers
129
132
steps :
130
- - test_core :
131
- py : " 311"
133
+ - test_core
132
134
133
135
python_312_core :
134
136
docker :
135
137
- image : cimg/python:3.12-browsers
136
138
steps :
137
- - test_core :
138
- py : " 312"
139
+ - test_core
139
140
140
141
# Optional
141
-
142
142
python_38_optional :
143
143
docker :
144
144
- image : cimg/python:3.8-browsers
145
145
steps :
146
- - test_optional :
147
- py : " 38"
146
+ - test_optional
148
147
149
148
python_39_optional :
150
149
docker :
151
150
- image : cimg/python:3.9-browsers
152
151
steps :
153
- - test_optional :
154
- py : " 39"
152
+ - test_optional
155
153
156
154
python_310_optional :
157
155
docker :
158
156
- image : cimg/python:3.10-browsers
159
157
steps :
160
- - test_optional :
161
- py : " 310"
158
+ - test_optional
162
159
163
160
python_311_optional :
164
161
docker :
165
162
- image : cimg/python:3.11-browsers
166
163
steps :
167
- - test_optional :
168
- py : " 311"
164
+ - test_optional
169
165
170
166
python_312_optional :
171
167
docker :
172
168
- image : cimg/python:3.12-browsers
173
169
steps :
174
- - test_optional :
175
- py : " 312"
176
-
177
- # Pandas
178
-
179
- python_39_pandas_2_optional :
180
- docker :
181
- - image : cimg/python:3.9-browsers
182
- steps :
183
- - test_optional :
184
- py : " 39_pandas_2"
170
+ - test_optional
185
171
186
172
# No numpy
187
173
python_312_no_numpy :
188
174
docker :
189
175
- image : cimg/python:3.12-browsers
190
176
steps :
191
- - run :
192
- name : Check that numpy is not installed
193
- command : |
194
- if pip list | grep numpy > /dev/null 2>&1
195
- then exit 1
196
- else exit 0
197
- fi
198
177
- test_optional :
199
- py : " 312_no_numpy"
200
-
201
- python_312_np2 :
202
- docker :
203
- - image : cimg/python:3.12-browsers
204
- steps :
205
- - test_optional :
206
- py : " 312_np2"
207
-
178
+ numpy_installed : false
208
179
209
180
# Percy
210
181
python_39_percy :
@@ -229,8 +200,7 @@ jobs:
229
200
python -m venv venv
230
201
. venv/bin/activate
231
202
pip install -e .
232
- pip install plotly-geo
233
- pip install -r test_requirements/requirements_39_pandas_2_optional.txt
203
+ pip install -r test_requirements/requirements_optional.txt
234
204
235
205
- run :
236
206
name : Build html figures (Pandas 2)
@@ -477,8 +447,6 @@ workflows:
477
447
- python_310_optional
478
448
- python_311_optional
479
449
- python_312_optional
480
- - python_39_pandas_2_optional
481
450
- python_39_percy
482
451
- python_312_no_numpy
483
- - python_312_np2
484
452
- build-doc
0 commit comments