dmlc--dgl
d30a69bf27
* tf * add builtin support * fiix * pytest * fix * fix * fix some bugs * fix selecting * fix todo * fix test * fix test fail in tf * fix * fix * fix gather row * fix gather row * log backend * fix gather row * fix gather row * fix for pytorch * fix * fix * fix * fix * fix * fix tests * fix * fix * fix * fix * fix * fix * fix convert * fix * fix * fix * fix inplace * add alignment setting * add debug option * Revert "add alignment setting" This reverts commit ec63fb3506ea84fff7d447a1fbdfd1d5d1fb6110. * tf ci * fix lint * fix lint * add tfdlpack * fix type * add env * fix backend * fix * fix tests * remove one_hot * remove comment * remove comment * fix * use pip to install all * fix test * fix base * fix * fix * add skip * upgrade cmake * change version * change ci * fix * fix * fix * fix * fix seg fault * fix * fix python version * fix * try fix * fix * fix * tf takes longer time in ci * change py version * fix * fix * fix oom * change kg env * change kg env * 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 * 我再也不搞各种乱七八糟环境了…… * use pytest * Chang image
23 行
570 B
Batchfile
23 行
570 B
Batchfile
@ECHO OFF
|
|
SETLOCAL EnableDelayedExpansion
|
|
|
|
IF x%1x==xx (
|
|
ECHO Specify backend
|
|
EXIT /B 1
|
|
) ELSE (
|
|
SET BACKEND=%1
|
|
)
|
|
CALL workon %BUILD_TAG%
|
|
|
|
SET PYTHONPATH=tests;!CD!\python;!PYTHONPATH!
|
|
SET DGLBACKEND=!BACKEND!
|
|
SET DGL_LIBRARY_PATH=!CD!\build
|
|
SET DGL_DOWNLOAD_DIR=!CD!
|
|
|
|
python -m pip install pytest || EXIT /B 1
|
|
python -m pytest -v --junitxml=pytest_backend.xml tests\!DGLBACKEND! || EXIT /B 1
|
|
python -m pytest -v --junitxml=pytest_gindex.xml tests\graph_index || EXIT /B 1
|
|
python -m pytest -v --junitxml=pytest_compute.xml tests\compute || EXIT /B 1
|
|
ENDLOCAL
|
|
EXIT /B
|