|
9 | 9 | - main
|
10 | 10 |
|
11 | 11 | jobs:
|
12 |
| - run_tests_linux: |
13 |
| - strategy: |
14 |
| - matrix: |
15 |
| - tf_version: ['2.9.0', '2.13.0'] |
16 |
| - python_version: ['3.8', '3.9', '3.10'] |
17 |
| - opset_version: ['18', '15'] |
18 |
| - ort_version: ['1.16.3'] |
19 |
| - onnx_version: ['1.15.0'] |
20 |
| - |
21 |
| - runs-on: ubuntu-latest |
22 |
| - |
23 |
| - steps: |
24 |
| - - name: Set up Python (${{ matrix.python_version }}) |
25 |
| - uses: actions/setup-python@v5 |
26 |
| - with: |
27 |
| - python-version: ${{ matrix.python_version }} |
28 |
| - |
29 |
| - - name: Checkout code |
30 |
| - uses: actions/checkout@v4 |
31 |
| - |
32 |
| - - name: Install dependencies (tf v${{ matrix.tf_version }}) |
33 |
| - shell: bash |
34 |
| - run: | |
35 |
| - python -m pip install --upgrade pip |
36 |
| - pip install onnxconverter-common |
37 |
| - pip install onnx==${{ matrix.onnx_version }} |
38 |
| - pip install h5py==3.7.0 |
39 |
| - pip install parameterized |
40 |
| - pip install timeout-decorator |
41 |
| - pip install coloredlogs flatbuffers |
42 |
| - pip install tensorflow==${{ matrix.tf_version }} |
43 |
| - pip install pytest pytest-cov pytest-runner |
44 |
| - pip install onnxruntime==${{ matrix.ort_version }} |
45 |
| - pip uninstall -y protobuf |
46 |
| - pip install "protobuf~=3.20" |
47 |
| - pip install -e . |
48 |
| -
|
49 |
| - echo "----- List all of depdencies:" |
50 |
| - pip freeze --all |
51 |
| -
|
52 |
| - - name: Run keras unit tests |
53 |
| - run: | |
54 |
| - set -x |
55 |
| - status=0 |
56 |
| - python -c "import onnxruntime" |
57 |
| - python -c "import onnxconverter_common" |
58 |
| - pytest tests/keras2onnx_unit_tests --doctest-modules --junitxml=junit/test-results.xml |
59 |
| - exit $status |
| 12 | + # run_tests_linux: |
| 13 | + # strategy: |
| 14 | + # matrix: |
| 15 | + # tf_version: ['2.9.0', '2.13.0'] |
| 16 | + # python_version: ['3.8', '3.9', '3.10'] |
| 17 | + # opset_version: ['18', '15'] |
| 18 | + # ort_version: ['1.16.3'] |
| 19 | + # onnx_version: ['1.15.0'] |
| 20 | + |
| 21 | + # runs-on: ubuntu-latest |
| 22 | + |
| 23 | + # steps: |
| 24 | + # - name: Set up Python (${{ matrix.python_version }}) |
| 25 | + # uses: actions/setup-python@v5 |
| 26 | + # with: |
| 27 | + # python-version: ${{ matrix.python_version }} |
| 28 | + |
| 29 | + # - name: Checkout code |
| 30 | + # uses: actions/checkout@v4 |
| 31 | + |
| 32 | + # - name: Install dependencies (tf v${{ matrix.tf_version }}) |
| 33 | + # shell: bash |
| 34 | + # run: | |
| 35 | + # python -m pip install --upgrade pip |
| 36 | + # pip install onnxconverter-common |
| 37 | + # pip install onnx==${{ matrix.onnx_version }} |
| 38 | + # pip install h5py==3.7.0 |
| 39 | + # pip install parameterized |
| 40 | + # pip install timeout-decorator |
| 41 | + # pip install coloredlogs flatbuffers |
| 42 | + # pip install tensorflow==${{ matrix.tf_version }} |
| 43 | + # pip install pytest pytest-cov pytest-runner |
| 44 | + # pip install onnxruntime==${{ matrix.ort_version }} |
| 45 | + # pip uninstall -y protobuf |
| 46 | + # pip install "protobuf~=3.20" |
| 47 | + # pip install -e . |
| 48 | + |
| 49 | + # echo "----- List all of depdencies:" |
| 50 | + # pip freeze --all |
| 51 | + |
| 52 | + # - name: Run keras unit tests |
| 53 | + # run: | |
| 54 | + # set -x |
| 55 | + # status=0 |
| 56 | + # python -c "import onnxruntime" |
| 57 | + # python -c "import onnxconverter_common" |
| 58 | + # pytest tests/keras2onnx_unit_tests --doctest-modules --junitxml=junit/test-results.xml |
| 59 | + # exit $status |
60 | 60 |
|
61 | 61 | run_tests_windows:
|
62 | 62 | strategy:
|
@@ -100,13 +100,9 @@ jobs:
|
100 | 100 |
|
101 | 101 | - name: Run keras unit tests
|
102 | 102 | run: |
|
103 |
| - set -x |
104 |
| - status=0 |
105 | 103 | python -c "import onnxruntime"
|
106 | 104 | python -c "import onnxconverter_common"
|
107 | 105 | pytest tests/keras2onnx_unit_tests --doctest-modules --junitxml=junit/test-results.xml
|
108 |
| - exit $status |
109 |
| -
|
110 | 106 |
|
111 | 107 | run_tests_linux_TF_15:
|
112 | 108 | strategy:
|
@@ -201,9 +197,6 @@ jobs:
|
201 | 197 |
|
202 | 198 | - name: Run keras unit tests
|
203 | 199 | run: |
|
204 |
| - set -x |
205 |
| - status=0 |
206 | 200 | python -c "import onnxruntime"
|
207 | 201 | python -c "import onnxconverter_common"
|
208 | 202 | pytest tests/keras2onnx_unit_tests --doctest-modules --junitxml=junit/test-results.xml
|
209 |
| - exit $status |
0 commit comments