Skip to content

Commit

Permalink
Finish updating 2 CI files.
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Zhang <[email protected]>
  • Loading branch information
fatcat-z committed Jun 21, 2024
1 parent ce23443 commit dbb2f43
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pretrained_model_tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
strategy:
fail-fast: false
matrix:
tf_version: ['2.9.0', '2.15.0']
python_version: ['3.9']
opset_version: ['18', '15']
ort_version: ['1.16.3']
onnx_version: ['1.16.1']
include:
- tf_version: '2.9.0'
python_version: '3.8'
- tf_version: '2.15.0'
python_version: '3.9'
python_version: '3.10'
- tf_version: '1.15.5'
python_version: '3.7'
os: 'ubuntu-latest'
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/unit_tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,29 @@ concurrency:

jobs:
run_tests:
name: Test (${{ matrix.python_version }}-${{ matrix.tf_version }}-${{ matrix.opset_version }}-${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-2022']
tf_version: ['2.9.0', '2.15.0']
python_version: ['3.9']
opset_version: ['18', '15']
ort_version: ['1.16.3']
onnx_version: ['1.16.1']
skip_tflite: ['False']
include:
- tf_version: '2.9.0'
python_version: '3.8'
- tf_version: '2.15.0'
python_version: '3.9'
python_version: '3.10'
- 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'
skip_tflite: 'True'
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -63,7 +68,7 @@ jobs:
run: |
export TF2ONNX_TEST_BACKEND=onnxruntime
export TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
export TF2ONNX_SKIP_TFLITE_TESTS=False
export TF2ONNX_SKIP_TFLITE_TESTS=${{ matrix.skip_tflite }}
export TF2ONNX_SKIP_TFJS_TESTS=True
export TF2ONNX_SKIP_TF_TESTS=False
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml
Expand All @@ -74,7 +79,7 @@ jobs:
run: |
set TF2ONNX_TEST_BACKEND=onnxruntime
set TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
set TF2ONNX_SKIP_TFLITE_TESTS=False
set TF2ONNX_SKIP_TFLITE_TESTS=${{ matrix.skip_tflite }}
set TF2ONNX_SKIP_TFJS_TESTS=True
set TF2ONNX_SKIP_TF_TESTS=False
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml
Expand Down

0 comments on commit dbb2f43

Please sign in to comment.