File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 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 }}
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
You can’t perform that action at this time.
0 commit comments