File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
ci_build/azure_pipelines/templates Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ steps:
12
12
then
13
13
pip install $(CI_PIP_ONNX_NAME) $(CI_PIP_ONNX_BACKEND_NAME) numpy --no-deps -U
14
14
fi
15
- if [[ $ONNX_TEST == "true" ]] ;
16
- then
17
- pip uninstall -y onnx
18
- pip install --index-url https://test.pypi.org/simple/ onnx
19
- fi
20
15
if [[ $CI_ONNXRUNTIME_NIGHTLY == "true" ]] ;
21
16
then
22
17
pip uninstall -y onnxruntime
@@ -49,6 +44,14 @@ steps:
49
44
fi
50
45
51
46
python setup.py install
47
+
48
+ if [[ $ONNX_TEST == "true" ]] ;
49
+ then
50
+ # onnx-weekly won't satisfy onnx requirement so uninstallation must happen here
51
+ pip uninstall -y onnx
52
+ pip install --index-url https://test.pypi.org/simple/ ${PIP_ONNX_NAME:-onnx}
53
+ fi
54
+
52
55
pip freeze --all
53
56
displayName : ' Setup Environment'
54
57
You can’t perform that action at this time.
0 commit comments