Skip to content

Commit a14008e

Browse files
committed
Remove wrong statements.
Signed-off-by: Jay Zhang <[email protected]>
1 parent ccbd0e4 commit a14008e

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

.github/workflows/setup.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,18 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
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
2423
25-
if [[ ${{ env.CI_SKIP_TFJS_TESTS }} == "False" ]]; then
26-
pip install tensorflowjs==3.18.0
27-
npm install @tensorflow/tfjs
28-
fi
2924
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)"
4127
4228
pip uninstall -y tensorflow
43-
pip install ${{ env.CI_PIP_TF_NAME }}
4429
pip uninstall -y protobuf
4530
pip install "protobuf~=3.20"
4631
4732
python setup.py install
4833
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-
5534
pip freeze --all
5635
5736
- name: Fix Paths (Windows only)

0 commit comments

Comments
 (0)