Skip to content

Commit

Permalink
[CI] Enable faulthandler to show details when 0xC0000005 error occurs (
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Mar 31, 2022
1 parent 6fa1afd commit e8eff35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile-win64
Expand Up @@ -153,9 +153,9 @@ def TestWin64() {
conda activate ${env_name} && for /R %%i in (python-package\\dist\\*.whl) DO python -m pip install "%%i"
"""
echo "Running Python tests..."
bat "conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace tests\\python"
bat "conda activate ${env_name} && python -X faulthandler -m pytest -v -s -rxXs --fulltrace tests\\python"
bat """
conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace -m "(not slow) and (not mgpu)" tests\\python-gpu
conda activate ${env_name} && python -X faulthandler -m pytest -v -s -rxXs --fulltrace -m "(not slow) and (not mgpu)" tests\\python-gpu
"""
bat "conda env remove --name ${env_name}"
deleteDir()
Expand Down
1 change: 0 additions & 1 deletion tests/ci_build/conda_env/win64_test.yml
Expand Up @@ -14,7 +14,6 @@ dependencies:
- jsonschema
- cupy
- python-graphviz
- modin-ray
- pip
- py-ubjson
- cffi
Expand Down

0 comments on commit e8eff35

Please sign in to comment.