Skip to content

Commit a5a5e64

Browse files
Test: split running tests in conda-recipe
1 parent 25e121f commit a5a5e64

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

conda-recipe/run_test.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ if %errorlevel% neq 0 exit 1
3737
"%PYTHON%" -m dpctl -f
3838
if %errorlevel% neq 0 exit 1
3939

40-
"%PYTHON%" -m pytest -ra --pyargs dpnp
40+
"%PYTHON%" -m pytest -ra --pyargs dpnp --deselect=tests/tensor
41+
if %errorlevel% neq 0 exit 1
42+
43+
"%PYTHON%" -m pytest -ra --pyargs dpnp.tests.tensor
4144
if %errorlevel% neq 0 exit 1

conda-recipe/run_test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ set -e
3737

3838
$PYTHON -c "import dpnp; print(dpnp.__version__)"
3939
$PYTHON -m dpctl -f
40-
$PYTHON -m pytest -ra --pyargs dpnp
40+
$PYTHON -m pytest -ra --pyargs dpnp --deselect=tests/tensor
41+
42+
$PYTHON -m pytest -ra --pyargs dpnp.tests.tensor

0 commit comments

Comments
 (0)