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 43
43
$base_dir = python -c "import site; print(site.getsitepackages()[0])"
44
44
echo "##vso[task.prependpath]$base_dir/Library/bin"
45
45
46
- - name : Run unit_test
46
+ - name : Run unit_test (Linux)
47
+ if : runner.os == 'Linux'
47
48
run : |
48
49
export TF2ONNX_TEST_BACKEND=onnxruntime
49
50
export TF2ONNX_TEST_OPSET=${{ matrix.opset_version }}
52
53
export TF2ONNX_SKIP_TF_TESTS=False
53
54
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append
54
55
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