Skip to content

Commit 5475574

Browse files
committed
update ci
Signed-off-by: xadupre <[email protected]>
1 parent b234051 commit 5475574

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.github/actions/keras_application_test/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ runs:
5858
pip install numpy==1.19.0
5959
else
6060
pip install transformers
61-
pip install tf_keras
62-
pip install "numpy<2"
61+
pip install tf_keras==${{ inputs.tf_version }}
6362
fi
6463
6564
pip install -e .

.github/actions/keras_unit_test/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ runs:
3636
if [[ ${{ inputs.tf_version }} == 1.* ]]; then
3737
pip install numpy==1.19.0
3838
else
39-
pip install tf_keras
40-
pip install "numpy<2"
39+
pip install tf_keras==${{ inputs.tf_version }}
4140
fi
4241
4342
pip install -e .

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.9 # Specify the desired Python version (e.g., 3.8, 3.9)
21+
python-version: 3.11
2222

2323
- name: Install dependencies
2424
run: pip install pylint==2.4.4

.github/workflows/unit_test_ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,24 @@ jobs:
130130
name:
131131
- 'py38-tf2.13'
132132
- 'py39-tf2.15'
133+
- 'py310-tf2.18'
134+
- 'py311-tf2.18'
135+
- 'py312-tf2.18'
133136
os: ['ubuntu-latest', 'windows-2022']
134137
opset_version: ['18', '15']
135138
ort_version: ['1.16.3']
136139
onnx_version: ['1.16.1']
137140
skip_tflite: ['False']
138141
include:
142+
- name: 'py312-tf2.18'
143+
tf_version: '2.18.0'
144+
python_version: '3.12'
145+
- name: 'py311-tf2.18'
146+
tf_version: '2.18.0'
147+
python_version: '3.11'
148+
- name: 'py310-tf2.18'
149+
tf_version: '2.18.0'
150+
python_version: '3.10'
139151
- name: 'py38-tf2.13'
140152
tf_version: '2.13.0'
141153
python_version: '3.8'

0 commit comments

Comments
 (0)