Update OpenVino ONNX CI check (#2599)
* Update OpenVino ONNX CI * Change parallel execution to single * Enlarge timeout * Remove timeout * Add timeout to test execution
This commit is contained in:
parent
0731f67e9f
commit
a5f538462d
|
|
@ -68,7 +68,7 @@ def buildDockerImage() {
|
|||
|
||||
def runTests() {
|
||||
sh """
|
||||
docker run --rm --name ${DOCKER_CONTAINER_NAME} \
|
||||
docker run --name ${DOCKER_CONTAINER_NAME} \
|
||||
--volume ${HOME}/ONNX_CI/onnx_models/.onnx:/root/.onnx ${DOCKER_IMAGE_TAG}
|
||||
"""
|
||||
}
|
||||
|
|
@ -101,6 +101,9 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage("Run tests") {
|
||||
options {
|
||||
timeout(time: 10, unit: 'MINUTES')
|
||||
}
|
||||
steps{
|
||||
runTests()
|
||||
}
|
||||
|
|
@ -118,6 +121,7 @@ pipeline {
|
|||
deleteDir()
|
||||
sh """
|
||||
docker image prune -f
|
||||
docker rm -f ${DOCKER_CONTAINER_NAME}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ commands=
|
|||
flake8 {posargs:src/ setup.py}
|
||||
flake8 --ignore=D100,D101,D102,D103,D104,D105,D107,W503 tests/ # ignore lack of docs in tests
|
||||
mypy --config-file=tox.ini {posargs:src/}
|
||||
pytest --backend={env:NGRAPH_BACKEND} tests -v -n 20
|
||||
pytest --backend={env:NGRAPH_BACKEND} tests -v -k 'not _cuda' -n 15
|
||||
|
||||
[testenv:devenv]
|
||||
envdir = devenv
|
||||
|
|
|
|||
Loading…
Reference in New Issue