Skip to content

Commit 962be43

Browse files
committed
github actions
Signed-off-by: chayim <[email protected]>
1 parent ddfe74d commit 962be43

File tree

4 files changed

+68
-4
lines changed

4 files changed

+68
-4
lines changed

.github/workflows/keras_unit_test_ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,55 @@ jobs:
6262
name: Test Results (Py310-TF2.15-ubuntu)
6363
path: ./**/test-results-*.xml
6464

65+
Test_py311_py_with_latest_tf:
66+
strategy:
67+
fail-fast: false
68+
runs-on: ubuntu-latest
69+
70+
steps:
71+
- name: Checkout code
72+
uses: actions/checkout@v4
73+
74+
- name: Run Tests (Py311-TF2.18)
75+
uses: ./.github/actions/keras_unit_test
76+
with:
77+
tf_version: '2.18.0'
78+
python_version: '3.11'
79+
ort_version: '1.16.3'
80+
onnx_version: '1.16.1'
81+
82+
- name: Upload Test Results
83+
if: always()
84+
uses: actions/upload-artifact@v4
85+
with:
86+
name: Test Results (Py311-TF2.15-ubuntu)
87+
path: ./**/test-results-*.xml
88+
89+
90+
Test_py312_py_with_tf1_18: # Do not change this name because it is used in Ruleset of this repo.
91+
strategy:
92+
fail-fast: false
93+
runs-on: ubuntu-latest
94+
95+
steps:
96+
- name: Checkout code
97+
uses: actions/checkout@v4
98+
99+
- name: Run Tests (Py312-TF2.18)
100+
uses: ./.github/actions/keras_unit_test
101+
with:
102+
tf_version: '2.18.0'
103+
python_version: '3.12'
104+
ort_version: '1.16.3'
105+
onnx_version: '1.16.1'
106+
107+
- name: Upload Test Results
108+
if: always()
109+
uses: actions/upload-artifact@v4
110+
with:
111+
name: Test Results (Py312-TF2.15-ubuntu)
112+
path: ./**/test-results-*.xml
113+
65114
Test_py37_with_tf1_15: # Do not change this name because it is used in Ruleset of this repo.
66115
strategy:
67116
fail-fast: false

.github/workflows/pretrained_model_test_ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,20 @@ jobs:
102102
name:
103103
- 'py38-tf2.13'
104104
- 'py39-tf2.15'
105+
- 'py311-tf2.18'
106+
- 'py312-tf2.18
105107
os: ['ubuntu-latest', 'windows-2022']
106108
opset_version: ['18', '15']
107109
ort_version: ['1.16.3']
108110
onnx_version: ['1.16.1']
109111
skip_tflite: ['False']
110112
include:
113+
- name: 'py311-tf2.18'
114+
tf_version: '2.18.0'
115+
python_version: '3.11'
116+
- name: 'py312-tf2.18'
117+
tf_version: '2.18.0'
118+
python_version: '3.12'
111119
- name: 'py38-tf2.13'
112120
tf_version: '2.13.0'
113121
python_version: '3.8'
@@ -154,4 +162,4 @@ jobs:
154162
- name: Publish Test Results
155163
uses: EnricoMi/publish-unit-test-result-action@v2
156164
with:
157-
files: "**/pytest*.xml"
165+
files: "**/pytest*.xml"

.github/workflows/unit_test_ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,20 @@ jobs:
7676
name:
7777
- 'py38-tf2.13'
7878
- 'py39-tf2.15'
79+
- 'py312-tf2.18'
80+
- 'py311-tf2.18'
7981
os: ['ubuntu-latest', 'windows-2022']
8082
opset_version: ['18', '15']
8183
ort_version: ['1.16.3']
8284
onnx_version: ['1.16.1']
8385
skip_tflite: ['False']
8486
include:
87+
- name: 'py312-tf2.18'
88+
tf_version: '2.18.0'
89+
python_version: '3.12'
90+
- name: 'py311-tf2.18'
91+
tf_version: '2.18.0'
92+
python_version: '3.11'
8593
- name: 'py38-tf2.13'
8694
tf_version: '2.13.0'
8795
python_version: '3.8'
@@ -137,4 +145,4 @@ jobs:
137145
- name: Publish Test Results
138146
uses: EnricoMi/publish-unit-test-result-action@v2
139147
with:
140-
files: "artifacts/**/*.xml"
148+
files: "artifacts/**/*.xml"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def run(self):
9999
'Programming Language :: Python :: 3.8',
100100
'Programming Language :: Python :: 3.9',
101101
'Programming Language :: Python :: 3.10',
102-
'Programming Language :: Python :: 3.11'
102+
'Programming Language :: Python :: 3.11',
103103
'Programming Language :: Python :: 3.12']
104-
'Programming Language :: Python :: 3.10']
105104
)

0 commit comments

Comments
 (0)