Skip to content

Commit a4f06d1

Browse files
committed
ci
Signed-off-by: xadupre <xadupre@microsoft.com>
1 parent 3d38cb8 commit a4f06d1

File tree

5 files changed

+52
-122
lines changed

5 files changed

+52
-122
lines changed

.github/workflows/keras_application_test_ci.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717

18-
Test1_py310_tf2_19: # Do not change this name because it is used in Ruleset of this repo.
18+
Test1_py310_tf2_20: # Do not change this name because it is used in Ruleset of this repo.
1919
strategy:
2020
fail-fast: false
2121
runs-on: ubuntu-latest
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout code
2525
uses: actions/checkout@v4
2626

27-
- name: Run Tests (Py310-TF2.19)
27+
- name: Run Tests (Py310-TF2.20)
2828
uses: ./.github/actions/keras_application_test
2929
with:
30-
tf_version: '2.19.0'
30+
tf_version: '2.20.0'
3131
python_version: '3.10'
3232
ort_version: '1.20.1'
3333
onnx_version: '1.17.0'
@@ -36,45 +36,38 @@ jobs:
3636
if: always()
3737
uses: actions/upload-artifact@v4
3838
with:
39-
name: Test Results (Py310-TF2.19-ubuntu)
39+
name: Test Results (Py310-TF2.20-ubuntu)
4040
path: ./**/test-results-*.xml
4141

4242
Extra_tests1:
4343
strategy:
4444
fail-fast: false
4545
matrix:
4646
name:
47-
- 'py38-tf2.13'
4847
- 'py39-tf2.15'
49-
- 'py310-tf2.19'
50-
- 'py311-tf2.19'
51-
- 'py312-tf2.19'
48+
- 'py310-tf2.20'
49+
- 'py311-tf2.20'
50+
- 'py312-tf2.20'
5251
os: ['ubuntu-latest', 'windows-latest']
5352
include:
54-
- name: 'py38-tf2.13'
55-
tf_version: '2.13.0'
56-
python_version: '3.8'
57-
ort_version: '1.16.3'
58-
onnx_version: '1.16.1'
59-
os_version: 'ubuntu-latest'
6053
- name: 'py39-tf2.15'
6154
tf_version: '2.15.0'
6255
python_version: '3.9'
6356
ort_version: '1.16.3'
6457
onnx_version: '1.16.1'
6558
os_version: 'ubuntu-latest'
66-
- name: 'py310-tf2.19'
67-
tf_version: '2.19.0'
59+
- name: 'py310-tf2.20'
60+
tf_version: '2.20.0'
6861
python_version: '3.10'
6962
ort_version: '1.20.1'
7063
onnx_version: '1.17.0'
71-
- name: 'py311-tf2.19'
72-
tf_version: '2.19.0'
64+
- name: 'py311-tf2.20'
65+
tf_version: '2.20.0'
7366
python_version: '3.11'
7467
ort_version: '1.20.1'
7568
onnx_version: '1.17.0'
76-
- name: 'py312-tf2.19'
77-
tf_version: '2.19.0'
69+
- name: 'py312-tf2.20'
70+
tf_version: '2.20.0'
7871
python_version: '3.12'
7972
ort_version: '1.22.0'
8073
onnx_version: '1.18.0'
@@ -100,7 +93,7 @@ jobs:
10093

10194
publish-test-results:
10295
name: "Publish Tests Results to Github"
103-
needs: [Test1_py310_tf2_19, Extra_tests1]
96+
needs: [Test1_py310_tf2_20, Extra_tests1]
10497
runs-on: ubuntu-latest
10598
permissions:
10699
checks: write

.github/workflows/keras_unit_test_ci.yml

Lines changed: 15 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
Test2_py38_tf2_9: # Do not change this name because it is used in Ruleset of this repo.
17+
Test2_py310_tf2_20: # Do not change this name because it is used in Ruleset of this repo.
1818
strategy:
1919
fail-fast: false
2020
runs-on: ubuntu-latest
@@ -23,34 +23,10 @@ jobs:
2323
- name: Checkout code
2424
uses: actions/checkout@v4
2525

26-
- name: Run Tests (Py39-TF2.9)
26+
- name: Run Tests (Py310-TF2.20)
2727
uses: ./.github/actions/keras_unit_test
2828
with:
29-
tf_version: '2.9.0'
30-
python_version: '3.9'
31-
ort_version: '1.16.3'
32-
onnx_version: '1.16.1'
33-
34-
- name: Upload Test Results
35-
if: always()
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: Test Results (Py39-TF2.9-ubuntu)
39-
path: ./**/test-results-*.xml
40-
41-
Test2_py310_tf2_19: # Do not change this name because it is used in Ruleset of this repo.
42-
strategy:
43-
fail-fast: false
44-
runs-on: ubuntu-latest
45-
46-
steps:
47-
- name: Checkout code
48-
uses: actions/checkout@v4
49-
50-
- name: Run Tests (Py310-TF2.19)
51-
uses: ./.github/actions/keras_unit_test
52-
with:
53-
tf_version: '2.19.0'
29+
tf_version: '2.20.0'
5430
python_version: '3.10'
5531
ort_version: '1.20.1'
5632
onnx_version: '1.17.0'
@@ -59,10 +35,10 @@ jobs:
5935
if: always()
6036
uses: actions/upload-artifact@v4
6137
with:
62-
name: Test Results (Py310-TF2.19-ubuntu)
38+
name: Test Results (Py310-TF2.20-ubuntu)
6339
path: ./**/test-results-*.xml
6440

65-
Test2_py311_tf2_19: # Do not change this name because it is used in Ruleset of this repo.
41+
Test2_py311_tf2_20: # Do not change this name because it is used in Ruleset of this repo.
6642
strategy:
6743
fail-fast: false
6844
runs-on: ubuntu-latest
@@ -71,10 +47,10 @@ jobs:
7147
- name: Checkout code
7248
uses: actions/checkout@v4
7349

74-
- name: Run Tests (Py311-TF2.19)
50+
- name: Run Tests (Py311-TF2.20)
7551
uses: ./.github/actions/keras_unit_test
7652
with:
77-
tf_version: '2.19.0'
53+
tf_version: '2.20.0'
7854
python_version: '3.11'
7955
ort_version: '1.20.1'
8056
onnx_version: '1.17.0'
@@ -83,37 +59,31 @@ jobs:
8359
if: always()
8460
uses: actions/upload-artifact@v4
8561
with:
86-
name: Test Results (Py311-TF2.19-ubuntu)
62+
name: Test Results (Py311-TF2.20-ubuntu)
8763
path: ./**/test-results-*.xml
8864

8965
Extra_tests2:
9066
strategy:
9167
fail-fast: false
9268
matrix:
9369
name:
94-
- 'py38-tf2.13'
9570
- 'py39-tf2.15'
96-
- 'py310-tf2.19'
97-
- 'py311-tf2.19'
71+
- 'py310-tf2.20'
72+
- 'py311-tf2.20'
9873
os: ['ubuntu-latest', 'windows-2022']
9974
include:
100-
- name: 'py38-tf2.13'
101-
tf_version: '2.13.0'
102-
python_version: '3.8'
103-
ort_version: '1.16.3'
104-
onnx_version: '1.16.1'
10575
- name: 'py39-tf2.15'
10676
tf_version: '2.15.0'
10777
python_version: '3.9'
10878
ort_version: '1.16.3'
10979
onnx_version: '1.16.1'
110-
- name: 'py310-tf2.19'
111-
tf_version: '2.19.0'
80+
- name: 'py310-tf2.20'
81+
tf_version: '2.20.0'
11282
python_version: '3.10'
11383
ort_version: '1.20.1'
11484
onnx_version: '1.17.0'
115-
- name: 'py311-tf2.19'
116-
tf_version: '2.19.0'
85+
- name: 'py311-tf2.20'
86+
tf_version: '2.20.0'
11787
python_version: '3.11'
11888
ort_version: '1.20.1'
11989
onnx_version: '1.17.0'
@@ -139,7 +109,7 @@ jobs:
139109

140110
publish-test-results:
141111
name: "Publish Tests Results to Github"
142-
needs: [Test2_py38_tf2_9, Test2_py310_tf2_19, Test2_py311_tf2_19, Extra_tests2]
112+
needs: [Test2_py310_tf2_20, Test2_py311_tf2_20, Extra_tests2]
143113
runs-on: ubuntu-latest
144114
permissions:
145115
checks: write

.github/workflows/pretrained_model_test_ci.yml

Lines changed: 10 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,6 @@ concurrency:
1515

1616
jobs:
1717

18-
Test3_py38_tf2_9: # Do not change this name because it is used in 'publish-test-results' section below.
19-
strategy:
20-
fail-fast: false
21-
runs-on: ubuntu-latest
22-
23-
steps:
24-
- name: Checkout code
25-
uses: actions/checkout@v4
26-
27-
- name: Run Tests (Py39-TF2.9-18)
28-
uses: ./.github/actions/pretrained_model_test
29-
with:
30-
os: 'ubuntu-latest'
31-
tf_version: '2.9.0'
32-
python_version: '3.9'
33-
ort_version: '1.16.3'
34-
onnx_version: '1.16.1'
35-
opset_version: '18'
36-
skip_tflite: 'False'
37-
38-
- name: Upload Test Results
39-
if: always()
40-
uses: actions/upload-artifact@v4
41-
with:
42-
name: Test Results (Py39-TF2.9-18-ubuntu)
43-
path: ./**/test-results-*.xml
44-
4518
Test3_py310_tf2_19: # Do not change this name because it is used in 'publish-test-results' section below.
4619
strategy:
4720
fail-fast: false
@@ -51,11 +24,11 @@ jobs:
5124
- name: Checkout code
5225
uses: actions/checkout@v4
5326

54-
- name: Run Tests (Py310-TF2.19-18)
27+
- name: Run Tests (Py310-TF2.20-18)
5528
uses: ./.github/actions/pretrained_model_test
5629
with:
5730
os: 'ubuntu-latest'
58-
tf_version: '2.19.0'
31+
tf_version: '2.20.0'
5932
python_version: '3.10'
6033
ort_version: '1.20.1'
6134
onnx_version: '1.17.0'
@@ -66,39 +39,33 @@ jobs:
6639
if: always()
6740
uses: actions/upload-artifact@v4
6841
with:
69-
name: Test Results (Py310-TF2.19-18-ubuntu)
42+
name: Test Results (Py310-TF2.20-18-ubuntu)
7043
path: ./**/test-results-*.xml
7144

7245
Extra_tests3: # Do not change this name because it is used in 'publish-test-results' section below.
7346
strategy:
7447
fail-fast: false
7548
matrix:
7649
name:
77-
- 'py38-tf2.13'
7850
- 'py39-tf2.15'
79-
- 'py310-tf2.19'
80-
- 'py311-tf2.19'
51+
- 'py310-tf2.20'
52+
- 'py311-tf2.20'
8153
os: ['ubuntu-latest', 'windows-2022']
8254
opset_version: ['18', '15']
8355
skip_tflite: ['False']
8456
include:
85-
- name: 'py38-tf2.13'
86-
tf_version: '2.13.0'
87-
python_version: '3.8'
88-
ort_version: '1.16.3'
89-
onnx_version: '1.16.1'
9057
- name: 'py39-tf2.15'
9158
tf_version: '2.15.0'
9259
python_version: '3.9'
9360
ort_version: '1.16.3'
9461
onnx_version: '1.16.1'
95-
- name: 'py310-tf2.19'
96-
tf_version: '2.19.0'
62+
- name: 'py310-tf2.20'
63+
tf_version: '2.20.0'
9764
python_version: '3.10'
9865
ort_version: '1.20.1'
9966
onnx_version: '1.17.0'
100-
- name: 'py311-tf2.19'
101-
tf_version: '2.19.0'
67+
- name: 'py311-tf2.20'
68+
tf_version: '2.20.0'
10269
python_version: '3.11'
10370
ort_version: '1.20.1'
10471
onnx_version: '1.17.0'
@@ -127,7 +94,7 @@ jobs:
12794

12895
publish-test-results:
12996
name: "Publish Tests Results to Github"
130-
needs: [Test3_py38_tf2_9, Test3_py310_tf2_19, Extra_tests3]
97+
needs: [Test3_py310_tf2_19, Extra_tests3]
13198
runs-on: ubuntu-latest
13299
permissions:
133100
checks: write

0 commit comments

Comments
 (0)