@@ -19,39 +19,18 @@ jobs:
19
19
- name : Install dependencies
20
20
run : |
21
21
pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized sympy coloredlogs flatbuffers timeout-decorator
22
- pip install ${{ env.CI_PIP_ONNX_NAME }}
23
- pip install ${{ env.CI_PIP_ONNX_BACKEND_NAME }} numpy
22
+ pip install numpy
24
23
25
- if [[ ${{ env.CI_SKIP_TFJS_TESTS }} == "False" ]]; then
26
- pip install tensorflowjs==3.18.0
27
- npm install @tensorflow/tfjs
28
- fi
29
24
30
- if [[ ${{ env.CI_TF_VERSION }} == 2.* ]]; then
31
- pip install onnxruntime-extensions
32
- pip install "tensorflow-text<=$(env.CI_TF_VERSION)"
33
- fi
34
-
35
- if [[ ${{ env.CI_ONNXRUNTIME_NIGHTLY }} == "true" ]]; then
36
- pip uninstall -y onnxruntime
37
- # install numpy upfront since it is not on https://test.pypi.org/simple/
38
- pip install 'numpy>=1.18'
39
- pip install -i https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ ort-nightly
40
- fi
25
+ pip install onnxruntime-extensions
26
+ pip install "tensorflow-text<=$(env.CI_TF_VERSION)"
41
27
42
28
pip uninstall -y tensorflow
43
- pip install ${{ env.CI_PIP_TF_NAME }}
44
29
pip uninstall -y protobuf
45
30
pip install "protobuf~=3.20"
46
31
47
32
python setup.py install
48
33
49
- if [[ ${{ env.ONNX_TEST }} == "true" ]]; 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/ ${{ env.PIP_ONNX_NAME:-onnx }}
53
- fi
54
-
55
34
pip freeze --all
56
35
57
36
- name : Fix Paths (Windows only)
0 commit comments