Skip to content

Commit 0fc5f41

Browse files
committed
Correct windows tests.
Signed-off-by: Jay Zhang <jiz@microsoft.com>
1 parent 3daec4d commit 0fc5f41

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/unit_tests_core.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
$base_dir = python -c "import site; print(site.getsitepackages()[0])"
4444
echo "##vso[task.prependpath]$base_dir/Library/bin"
4545
46-
- name: Run unit_test
46+
- name: Run unit_test (Linux)
47+
if: runner.os == 'Linux'
4748
run: |
4849
export TF2ONNX_TEST_BACKEND=onnxruntime
4950
export TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
@@ -52,3 +53,12 @@ jobs:
5253
export TF2ONNX_SKIP_TF_TESTS=False
5354
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append
5455
56+
- name: Run unit_test (Windows)
57+
if: runner.os == 'Windows'
58+
run: |
59+
%TF2ONNX_TEST_BACKEND%=onnxruntime
60+
%TF2ONNX_TEST_OPSET%=${{ matrix.opset_version }}
61+
%TF2ONNX_SKIP_TFLITE_TESTS%=False
62+
%TF2ONNX_SKIP_TFJS_TESTS%=True
63+
%TF2ONNX_SKIP_TF_TESTS%=False
64+
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append

0 commit comments

Comments
 (0)