Skip to content

Commit fa7da9a

Browse files
authored
Add python 3.10 to CI (#585)
* Add python 3.10 to CI Signed-off-by: xadupre <[email protected]> * enable two tests Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]>
1 parent fe55a8a commit fa7da9a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
vmImage: 'ubuntu-latest'
1515
strategy:
1616
matrix:
17+
Python310-1120-RT1121-xgb161:
18+
python.version: '3.9'
19+
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4'
20+
ONNXRT_PATH: onnxruntime==1.12.1 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003'
21+
COREML_PATH: git+https://github.com/apple/[email protected]
22+
xgboost.version: '>=1.6.1'
1723
Python39-1120-RT1110-xgb161:
1824
python.version: '3.9'
1925
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4'

tests/sparkml/test_decision_tree_classifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
class TestSparkmDecisionTreeClassifier(SparkMlTestCase):
2626

27-
@unittest.skipIf(True, reason="Mismatched input dimensions.")
27+
# @unittest.skipIf(True, reason="Mismatched input dimensions.")
2828
@unittest.skipIf(sys.platform == 'win32',
2929
reason="UnsatisfiedLinkError")
3030
@unittest.skipIf(sys.version_info < (3, 8),
@@ -72,7 +72,7 @@ def test_tree_pipeline(self):
7272
output, output_shapes = run_onnx_model(['indexedLabel', 'prediction', 'probability'], data_np, onnx_model_path)
7373
compare_results(expected, output, decimal=5)
7474

75-
@unittest.skipIf(True, reason="Mismatched input dimensions.")
75+
# @unittest.skipIf(True, reason="Mismatched input dimensions.")
7676
@unittest.skipIf(sys.platform == 'win32',
7777
reason="UnsatisfiedLinkError")
7878
@unittest.skipIf(sys.version_info < (3, 8),

0 commit comments

Comments
 (0)