@@ -15,7 +15,7 @@ concurrency:
15
15
16
16
jobs :
17
17
18
- Test_min_py_with_min_tf : # Do not change this name because it is used in Ruleset of this repo .
18
+ Test_min_py_with_min_tf : # Do not change this name because it is used in 'publish-test-results' section below .
19
19
strategy :
20
20
fail-fast : false
21
21
runs-on : ubuntu-latest
42
42
name : Test Results (Py38-TF2.9-18-ubuntu)
43
43
path : ./**/test-results-*.xml
44
44
45
- Test_max_py_with_latest_tf : # Do not change this name because it is used in Ruleset of this repo .
45
+ Test_max_py_with_latest_tf : # Do not change this name because it is used in 'publish-test-results' section below .
46
46
strategy :
47
47
fail-fast : false
48
48
runs-on : ubuntu-latest
69
69
name : Test Results (Py310-TF2.15-18-ubuntu)
70
70
path : ./**/test-results-*.xml
71
71
72
- Extra_tests :
72
+ Test_py37_with_tf1_15 : # Do not change this name because it is used in 'publish-test-results' section below.
73
+ strategy :
74
+ fail-fast : false
75
+ runs-on : ubuntu-22.04
76
+
77
+ steps :
78
+ - name : Checkout code
79
+ uses : actions/checkout@v4
80
+
81
+ - name : Run Tests (Py310-TF2.15-18)
82
+ uses : ./.github/actions/pretrained_model_test
83
+ with :
84
+ tf_version : ' 1.15.5'
85
+ python_version : ' 3.7'
86
+ os : ' ubuntu-22.04' # Max ubuntu version supports python 3.7.
87
+ opset_version : ' 15'
88
+ ort_version : ' 1.14.1'
89
+ onnx_version : ' 1.14.1'
90
+
91
+ - name : Upload Test Results
92
+ if : always()
93
+ uses : actions/upload-artifact@v3
94
+ with :
95
+ name : Test Results (Py37-TF1.15-15-ubuntu)
96
+ path : ./**/test-results-*.xml
97
+
98
+ Extra_tests : # Do not change this name because it is used in 'publish-test-results' section below.
73
99
strategy :
74
100
fail-fast : false
75
101
matrix :
@@ -88,15 +114,7 @@ jobs:
88
114
- name : ' py39-tf2.15'
89
115
tf_version : ' 2.15.0'
90
116
python_version : ' 3.9'
91
- - name : ' py37-tf1.15'
92
- tf_version : ' 1.15.5'
93
- python_version : ' 3.7'
94
- os : ' ubuntu-latest'
95
- opset_version : ' 15'
96
- ort_version : ' 1.14.1'
97
- onnx_version : ' 1.14.1'
98
-
99
- runs-on : ubuntu-latest
117
+ runs-on : ${{ matrix.os }}
100
118
101
119
steps :
102
120
- name : Checkout code
@@ -121,7 +139,7 @@ jobs:
121
139
122
140
publish-test-results :
123
141
name : " Publish Tests Results to Github"
124
- needs : [Test_min_py_with_min_tf, Test_max_py_with_latest_tf, Extra_tests]
142
+ needs : [Test_min_py_with_min_tf, Test_max_py_with_latest_tf, Test_py37_with_tf1_15, Extra_tests]
125
143
runs-on : ubuntu-latest
126
144
permissions :
127
145
checks : write
0 commit comments