Skip to content

Limit ubuntu version to 22.04 for python 3.7. #2376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/keras_application_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
pip install coloredlogs flatbuffers
pip install tensorflow==${{ inputs.tf_version }}
pip install onnxruntime==${{ inputs.ort_version }}
pip install Pillow==8.2.0
pip install pillow
pip install opencv-python
pip install tqdm
pip install keras-segmentation==0.2.0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/keras_application_test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
Test_py37_with_tf1_15: # Do not change this name because it is used in Ruleset of this repo.
strategy:
fail-fast: false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout code
Expand All @@ -92,15 +92,15 @@ jobs:
fail-fast: false
matrix:
name:
- 'py39-tf2.10'
- 'py38-tf2.13'
- 'py39-tf2.15'
os: ['ubuntu-latest', 'windows-2022']
ort_version: ['1.16.3']
onnx_version: ['1.16.1']
include:
- name: 'py39-tf2.10'
tf_version: '2.10.0'
python_version: '3.9'
- name: 'py38-tf2.13'
tf_version: '2.13.0'
python_version: '3.8'
- name: 'py39-tf2.15'
tf_version: '2.15.0'
python_version: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keras_unit_test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
Test_py37_with_tf1_15: # Do not change this name because it is used in Ruleset of this repo.
strategy:
fail-fast: false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout code
Expand Down
44 changes: 31 additions & 13 deletions .github/workflows/pretrained_model_test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:

Test_min_py_with_min_tf: # Do not change this name because it is used in Ruleset of this repo.
Test_min_py_with_min_tf: # Do not change this name because it is used in 'publish-test-results' section below.
strategy:
fail-fast: false
runs-on: ubuntu-latest
Expand All @@ -42,7 +42,7 @@ jobs:
name: Test Results (Py38-TF2.9-18-ubuntu)
path: ./**/test-results-*.xml

Test_max_py_with_latest_tf: # Do not change this name because it is used in Ruleset of this repo.
Test_max_py_with_latest_tf: # Do not change this name because it is used in 'publish-test-results' section below.
strategy:
fail-fast: false
runs-on: ubuntu-latest
Expand All @@ -69,7 +69,33 @@ jobs:
name: Test Results (Py310-TF2.15-18-ubuntu)
path: ./**/test-results-*.xml

Extra_tests:
Test_py37_with_tf1_15: # Do not change this name because it is used in 'publish-test-results' section below.
strategy:
fail-fast: false
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Tests (Py310-TF2.15-18)
uses: ./.github/actions/pretrained_model_test
with:
tf_version: '1.15.5'
python_version: '3.7'
os: 'ubuntu-22.04' # Max ubuntu version supports python 3.7.
opset_version: '15'
ort_version: '1.14.1'
onnx_version: '1.14.1'

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results (Py37-TF1.15-15-ubuntu)
path: ./**/test-results-*.xml

Extra_tests: # Do not change this name because it is used in 'publish-test-results' section below.
strategy:
fail-fast: false
matrix:
Expand All @@ -88,15 +114,7 @@ jobs:
- name: 'py39-tf2.15'
tf_version: '2.15.0'
python_version: '3.9'
- name: 'py37-tf1.15'
tf_version: '1.15.5'
python_version: '3.7'
os: 'ubuntu-latest'
opset_version: '15'
ort_version: '1.14.1'
onnx_version: '1.14.1'

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
Expand All @@ -121,7 +139,7 @@ jobs:

publish-test-results:
name: "Publish Tests Results to Github"
needs: [Test_min_py_with_min_tf, Test_max_py_with_latest_tf, Extra_tests]
needs: [Test_min_py_with_min_tf, Test_max_py_with_latest_tf, Test_py37_with_tf1_15, Extra_tests]
runs-on: ubuntu-latest
permissions:
checks: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- name: 'py37-tf1.15'
tf_version: '1.15.5'
python_version: '3.7'
os: 'ubuntu-latest'
os: 'ubuntu-22.04' # Max ubuntu version supports python 3.7.
opset_version: '15'
ort_version: '1.14.1'
onnx_version: '1.14.1'
Expand Down
Loading