Skip to content

Commit e3ae8e9

Browse files
committed
Update the dependency pillow.
Signed-off-by: Jay Zhang <[email protected]>
1 parent 0f2c53a commit e3ae8e9

File tree

2 files changed

+32
-14
lines changed

2 files changed

+32
-14
lines changed

.github/actions/keras_application_test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
pip install coloredlogs flatbuffers
3333
pip install tensorflow==${{ inputs.tf_version }}
3434
pip install onnxruntime==${{ inputs.ort_version }}
35-
pip install Pillow==8.2.0
35+
pip install pillow
3636
pip install opencv-python
3737
pip install tqdm
3838
pip install keras-segmentation==0.2.0

.github/workflows/pretrained_model_test_ci.yml

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

1616
jobs:
1717

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.
1919
strategy:
2020
fail-fast: false
2121
runs-on: ubuntu-latest
@@ -42,7 +42,7 @@ jobs:
4242
name: Test Results (Py38-TF2.9-18-ubuntu)
4343
path: ./**/test-results-*.xml
4444

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.
4646
strategy:
4747
fail-fast: false
4848
runs-on: ubuntu-latest
@@ -69,7 +69,33 @@ jobs:
6969
name: Test Results (Py310-TF2.15-18-ubuntu)
7070
path: ./**/test-results-*.xml
7171

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.
7399
strategy:
74100
fail-fast: false
75101
matrix:
@@ -88,15 +114,7 @@ jobs:
88114
- name: 'py39-tf2.15'
89115
tf_version: '2.15.0'
90116
python_version: '3.9'
91-
- name: 'py37-tf1.15'
92-
tf_version: '1.15.5'
93-
python_version: '3.7'
94-
os: 'ubuntu-22.04' # Max ubuntu version supports python 3.7.
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 }}
100118

101119
steps:
102120
- name: Checkout code
@@ -121,7 +139,7 @@ jobs:
121139

122140
publish-test-results:
123141
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]
125143
runs-on: ubuntu-latest
126144
permissions:
127145
checks: write

0 commit comments

Comments
 (0)