File tree Expand file tree Collapse file tree 5 files changed +47
-12
lines changed Expand file tree Collapse file tree 5 files changed +47
-12
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
workflow_dispatch :
11
11
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
run_tests :
14
18
strategy :
19
+ fail-fast : false
15
20
matrix :
16
21
tf_version : ['2.9.0', '2.13.0']
17
22
python_version : ['3.8', '3.9']
Original file line number Diff line number Diff line change 9
9
- main
10
10
workflow_dispatch :
11
11
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
run_tests :
14
18
strategy :
19
+ fail-fast : false
15
20
matrix :
16
21
tf_version : ['2.9.0', '2.13.0']
17
22
python_version : ['3.8', '3.9']
Original file line number Diff line number Diff line change 9
9
- main
10
10
workflow_dispatch :
11
11
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
run_tests :
14
18
strategy :
19
+ fail-fast : false
15
20
matrix :
16
- tf_version : ['2.9.0', '2.13.0']
17
- python_version : ['3.8', '3.9', '3.10']
18
21
opset_version : ['18', '15']
19
22
ort_version : ['1.16.3']
23
+ onnx_version : [''1.16.1']
24
+ include :
25
+ - tf_version : ' 2.9.0'
26
+ python_version : ' 3.8'
27
+ - tf_version : ' 2.15.0'
28
+ python_version : ' 3.9'
29
+ - tf_version : ' 1.15.5'
30
+ python_version : ' 3.7'
31
+ os : ' ubuntu-latest'
32
+ opset_version : ' 15'
33
+ ort_version : ' 1.14.1'
34
+ onnx_version : ' 1.14.1'
20
35
21
36
runs-on : ubuntu-latest
22
37
33
48
shell : bash
34
49
run : |
35
50
chmod +x ./tests/utils/setup_test_env.sh
36
- ./tests/utils/setup_test_env.sh ${{ matrix.tf_version }} ${{ matrix.ort_version }}
51
+ ./tests/utils/setup_test_env.sh ${{ matrix.tf_version }} ${{ matrix.ort_version }} ${{ matrix.onnx_version }}
37
52
38
53
- name : Fix Paths (Windows only)
39
54
if : runner.os == 'Windows'
Original file line number Diff line number Diff line change @@ -18,14 +18,22 @@ jobs:
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- tf_version : ['2.9.0', '2.15.0']
22
- python_version : ['3.8', '3.9']
21
+ os : ['ubuntu-latest', 'windows-2022']
23
22
opset_version : ['18', '15']
24
23
ort_version : ['1.16.3']
25
- os : ['ubuntu-latest', 'windows-2022']
24
+ onnx_version : [''1.16.1']
25
+ include :
26
+ - tf_version : ' 2.9.0'
27
+ python_version : ' 3.8'
28
+ - tf_version : ' 2.15.0'
29
+ python_version : ' 3.9'
30
+ - tf_version : ' 1.15.5'
31
+ python_version : ' 3.7'
32
+ os : ' ubuntu-latest'
33
+ opset_version : ' 15'
34
+ ort_version : ' 1.14.1'
35
+ onnx_version : ' 1.14.1'
26
36
runs-on : ${{ matrix.os }}
27
- # if: ${{ matrix.tf_version == '2.9.0' && matrix.python_version == '3.8' }}
28
- if : ${{ matrix.tf_version == '2.9.0' }}
29
37
30
38
steps :
31
39
- name : Set up Python (${{ matrix.python_version }})
40
48
shell : bash
41
49
run : |
42
50
chmod +x ./tests/utils/setup_test_env.sh
43
- ./tests/utils/setup_test_env.sh ${{ matrix.tf_version }} ${{ matrix.ort_version }}
51
+ ./tests/utils/setup_test_env.sh ${{ matrix.tf_version }} ${{ matrix.ort_version }} ${{ matrix.onnx_version }}
44
52
45
53
- name : Fix Paths (Windows only)
46
54
if : runner.os == 'Windows'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# # Check if the argument is provided
4
- if [ " $# " -ne 2 ]; then
5
- echo " Usage: $0 <tensorflow_version> <onnxruntime_version>"
4
+ if [ " $# " -ne 3 ]; then
5
+ echo " Usage: $0 <tensorflow_version> <onnxruntime_version> <onnx_version> "
6
6
exit 1
7
7
fi
8
8
9
9
# Assign the argument to a variable
10
10
TF_VERSION=$1
11
11
ORT_VERSION=$2
12
+ ONNX_VERSION=$3
12
13
13
14
echo " ==== TensorFlow version: $TF_VERSION "
14
15
echo " ==== ONNXRuntime version: $ORT_VERSION "
16
+ echo " ==== ONNX version: $ONNX_VERSION "
15
17
16
18
pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized sympy coloredlogs flatbuffers timeout-decorator
17
- pip install onnx
19
+ pip install onnx== $ONNX_VERSION
18
20
pip install onnxruntime==$ORT_VERSION
19
21
pip install numpy
20
22
You can’t perform that action at this time.
0 commit comments