Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add coverage to onnx tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Evans committed Dec 16, 2020
1 parent 0d19537 commit 86270bb
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1273,16 +1273,17 @@ unittest_centos7_gpu() {
}

integrationtest_ubuntu_cpu_onnx() {
set -ex
export PYTHONPATH=./python/
export MXNET_SUBGRAPH_VERBOSE=0
export DMLC_LOG_STACK_TRACE_DEPTH=10
tests/python-pytest/onnx/backend_test.py
pytest tests/python-pytest/onnx/mxnet_export_test.py
pytest tests/python-pytest/onnx/test_models.py
pytest tests/python-pytest/onnx/test_node.py
pytest tests/python-pytest/onnx/test_operators.py
pytest tests/python-pytest/onnx/test_onnxruntime.py
set -ex
export PYTHONPATH=./python/
export MXNET_SUBGRAPH_VERBOSE=0
export DMLC_LOG_STACK_TRACE_DEPTH=10
tests/python-pytest/onnx/backend_test.py
COV_ARG="--cov --cov-report xml:tests_onnx.xml --cov-append"
pytest $COV_ARG -v tests/python-pytest/onnx/mxnet_export_test.py
pytest $COV_ARG -v tests/python-pytest/onnx/test_models.py
pytest $COV_ARG -v tests/python-pytest/onnx/test_node.py
pytest $COV_ARG -v tests/python-pytest/onnx/test_operators.py
pytest $COV_ARG -v tests/python-pytest/onnx/test_onnxruntime.py
}

integrationtest_ubuntu_gpu_python() {
Expand Down

0 comments on commit 86270bb

Please sign in to comment.