Skip to content

Commit

Permalink
Skip running onnx tests in python mac os pipeline (#5416)
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn authored and tianleiwu committed Oct 12, 2020
1 parent a6f0923 commit ad7cc54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,8 +1256,8 @@ def run_onnxruntime_tests(args, source_dir, ctest_path, build_dir, configs):

if not args.skip_onnx_tests:
run_subprocess([os.path.join(cwd, 'onnx_test_runner'), 'test_models'], cwd=cwd)
if config != 'Debug':
run_subprocess([sys.executable, 'onnx_backend_test_series.py'], cwd=cwd, dll_path=dll_path)
if config != 'Debug':
run_subprocess([sys.executable, 'onnx_backend_test_series.py'], cwd=cwd, dll_path=dll_path)

if not args.skip_keras_test:
try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ stages:
sudo python3 -m pip install -r '$(Build.SourcesDirectory)/tools/ci_build/github/linux/docker/scripts/requirements.txt'
sudo xcode-select --switch /Applications/Xcode_10.app/Contents/Developer
brew install libomp
python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --use_openmp --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --parallel --config Release --build_wheel ${{ parameters.build_py_parameters }}
python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --use_openmp --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --parallel --config Release --skip_onnx_tests --build_wheel ${{ parameters.build_py_parameters }}
displayName: 'Command Line Script'
- task: CopyFiles@2
Expand Down

0 comments on commit ad7cc54

Please sign in to comment.