Skip to content

Commit dbb2f43

Browse files
committed
Finish updating 2 CI files.
Signed-off-by: Jay Zhang <[email protected]>
1 parent ce23443 commit dbb2f43

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/pretrained_model_tests_ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21+
tf_version: ['2.9.0', '2.15.0']
22+
python_version: ['3.9']
2123
opset_version: ['18', '15']
2224
ort_version: ['1.16.3']
2325
onnx_version: ['1.16.1']
2426
include:
2527
- tf_version: '2.9.0'
2628
python_version: '3.8'
2729
- tf_version: '2.15.0'
28-
python_version: '3.9'
30+
python_version: '3.10'
2931
- tf_version: '1.15.5'
3032
python_version: '3.7'
3133
os: 'ubuntu-latest'

.github/workflows/unit_tests_ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,29 @@ concurrency:
1515

1616
jobs:
1717
run_tests:
18+
name: Test (${{ matrix.python_version }}-${{ matrix.tf_version }}-${{ matrix.opset_version }}-${{ matrix.os }})
1819
strategy:
1920
fail-fast: false
2021
matrix:
2122
os: ['ubuntu-latest', 'windows-2022']
23+
tf_version: ['2.9.0', '2.15.0']
24+
python_version: ['3.9']
2225
opset_version: ['18', '15']
2326
ort_version: ['1.16.3']
2427
onnx_version: ['1.16.1']
28+
skip_tflite: ['False']
2529
include:
2630
- tf_version: '2.9.0'
2731
python_version: '3.8'
2832
- tf_version: '2.15.0'
29-
python_version: '3.9'
33+
python_version: '3.10'
3034
- tf_version: '1.15.5'
3135
python_version: '3.7'
3236
os: 'ubuntu-latest'
3337
opset_version: '15'
3438
ort_version: '1.14.1'
3539
onnx_version: '1.14.1'
40+
skip_tflite: 'True'
3641
runs-on: ${{ matrix.os }}
3742

3843
steps:
@@ -63,7 +68,7 @@ jobs:
6368
run: |
6469
export TF2ONNX_TEST_BACKEND=onnxruntime
6570
export TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
66-
export TF2ONNX_SKIP_TFLITE_TESTS=False
71+
export TF2ONNX_SKIP_TFLITE_TESTS=${{ matrix.skip_tflite }}
6772
export TF2ONNX_SKIP_TFJS_TESTS=True
6873
export TF2ONNX_SKIP_TF_TESTS=False
6974
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml
@@ -74,7 +79,7 @@ jobs:
7479
run: |
7580
set TF2ONNX_TEST_BACKEND=onnxruntime
7681
set TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
77-
set TF2ONNX_SKIP_TFLITE_TESTS=False
82+
set TF2ONNX_SKIP_TFLITE_TESTS=${{ matrix.skip_tflite }}
7883
set TF2ONNX_SKIP_TFJS_TESTS=True
7984
set TF2ONNX_SKIP_TF_TESTS=False
8085
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml

0 commit comments

Comments
 (0)