Skip to content

Commit fe55a8a

Browse files
authored
update CI pipeline files (#578)
* update CI pipeline files Signed-off-by: xiaowuhu <[email protected]> * Update win32-conda-CI.yml Signed-off-by: xiaowuhu <[email protected]> * Update linux-conda-CI.yml Signed-off-by: xiaowuhu <[email protected]> * Update test_SVMConverters.py Signed-off-by: xiaowuhu <[email protected]> * Update requirements-dev.txt Signed-off-by: xiaowuhu <[email protected]> * update CI Signed-off-by: xiaowuhu <[email protected]> * Update win32-conda-CI.yml Signed-off-by: xiaowuhu <[email protected]> * Update linux-conda-CI.yml Signed-off-by: xiaowuhu <[email protected]> * Update requirements-dev.txt Signed-off-by: xiaowuhu <[email protected]> * Update requirements-dev.txt Signed-off-by: xiaowuhu <[email protected]> * Update win32-conda-CI.yml Signed-off-by: xiaowuhu <[email protected]> Signed-off-by: xiaowuhu <[email protected]>
1 parent d7db0ff commit fe55a8a

File tree

4 files changed

+4
-60
lines changed

4 files changed

+4
-60
lines changed

.azure-pipelines/linux-conda-CI.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,23 @@ jobs:
1414
vmImage: 'ubuntu-latest'
1515
strategy:
1616
matrix:
17-
1817
Python39-1120-RT1110-xgb161:
1918
python.version: '3.9'
2019
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4'
2120
ONNXRT_PATH: onnxruntime==1.11.0 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003'
2221
COREML_PATH: git+https://github.com/apple/[email protected]
2322
xgboost.version: '>=1.6.1'
24-
2523
Python39-1120-RT1110-xgb142:
2624
python.version: '3.9'
2725
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4'
2826
ONNXRT_PATH: onnxruntime==1.11.0 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003'
2927
COREML_PATH: git+https://github.com/apple/[email protected]
3028
xgboost.version: '==1.4.2'
31-
3229
Python39-1110-RT1110:
3330
python.version: '3.9'
3431
ONNX_PATH: onnx==1.11.0 # '-i https://test.pypi.org/simple/ onnx==1.9.101'
3532
ONNXRT_PATH: onnxruntime==1.11.0 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003'
3633
COREML_PATH: git+https://github.com/apple/[email protected]
37-
3834
Python39-1110-RT1100:
3935
python.version: '3.9'
4036
ONNX_PATH: onnx==1.11.0 # '-i https://test.pypi.org/simple/ onnx==1.9.101'
@@ -59,42 +55,7 @@ jobs:
5955
ONNXRT_PATH: onnxruntime==1.7.0
6056
COREML_PATH: git+https://github.com/apple/[email protected]
6157
xgboost.version: '>=1.2'
62-
Python37-180-RT160-xgb11:
63-
python.version: '3.7'
64-
ONNX_PATH: onnx==1.8.0
65-
ONNXRT_PATH: onnxruntime==1.6.0
66-
COREML_PATH: git+https://github.com/apple/[email protected]
67-
xgboost.version: '>=1.2'
68-
Python37-150-RT100:
69-
python.version: '3.7'
70-
ONNX_PATH: onnx==1.5.0
71-
ONNXRT_PATH: onnxruntime==1.0.0
72-
COREML_PATH: git+https://github.com/apple/[email protected]
73-
xgboost.version: ''
74-
Python37-160-RT111-XGB0:
75-
python.version: '3.7'
76-
ONNX_PATH: onnx==1.6.0
77-
ONNXRT_PATH: onnxruntime==1.1.1
78-
COREML_PATH: git+https://github.com/apple/[email protected]
79-
xgboost.version: '<1.0'
80-
Python37-160-RT111:
81-
python.version: '3.7'
82-
ONNX_PATH: onnx==1.6.0
83-
ONNXRT_PATH: onnxruntime==1.1.1
84-
COREML_PATH: git+https://github.com/apple/[email protected]
85-
xgboost.version: '>=1.0'
86-
Python37-170-RT130:
87-
python.version: '3.7'
88-
ONNX_PATH: onnx==1.7.0
89-
ONNXRT_PATH: onnxruntime==1.3.0
90-
COREML_PATH: git+https://github.com/apple/[email protected]
91-
xgboost.version: '>=1.0'
92-
Python37-180-RT160:
93-
python.version: '3.7'
94-
ONNX_PATH: onnx==1.8.0
95-
ONNXRT_PATH: onnxruntime==1.6.0
96-
COREML_PATH: git+https://github.com/apple/[email protected]
97-
xgboost.version: '>=1.0'
58+
9859
maxParallel: 3
9960

10061
steps:

.azure-pipelines/win32-conda-CI.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,6 @@ jobs:
5757
ONNXRT_PATH: onnxruntime==1.7.0
5858
COREML_PATH: git+https://github.com/apple/[email protected]
5959

60-
Python37-180-RT160:
61-
python.version: '3.7'
62-
ONNX_PATH: onnx==1.8.0
63-
ONNXRT_PATH: onnxruntime==1.6.0
64-
COREML_PATH: git+https://github.com/apple/[email protected]
65-
66-
Python37-160-RT111:
67-
python.version: '3.7'
68-
ONNX_PATH: onnx==1.6.0
69-
ONNXRT_PATH: onnxruntime==1.1.1
70-
COREML_PATH: git+https://github.com/apple/[email protected]
71-
72-
Python37-170-RT130:
73-
python.version: '3.7'
74-
ONNX_PATH: onnx==1.7.0
75-
ONNXRT_PATH: onnxruntime==1.3.0
76-
COREML_PATH: git+https://github.com/apple/[email protected]
77-
7860
maxParallel: 3
7961

8062
steps:

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pyspark
1616
pytest
1717
pytest-cov
1818
pytest-spark
19-
scikit-learn
20-
scipy
19+
scikit-learn==1.1.0
20+
scipy==1.8.0
2121
wheel
2222
xgboost==1.5.2

tests/svmlib/test_SVMConverters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"""
66
import tempfile
77
import numpy
8+
import os
89
try:
910
from libsvm.svm import C_SVC as SVC, EPSILON_SVR as SVR, NU_SVC as NuSVC, NU_SVR as NuSVR
1011
import libsvm.svm as svm

0 commit comments

Comments
 (0)