Skip to content

Commit c4f7495

Browse files
committed
Pass mpi environment variable to tox
1 parent 6b0c9a8 commit c4f7495

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ allowlist_externals =
1616
bash
1717
deps =
1818
--no-deps -rrequirements/test.txt
19+
passenv =
20+
OPAL_PREFIX
1921
setenv =
2022
TF_GPU_ALLOCATOR=cuda_malloc_async
2123
sitepackages=true
@@ -24,7 +26,7 @@ commands =
2426
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git@{env:MERLIN_BRANCH:main}
2527
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/nvtabular.git@{env:MERLIN_BRANCH:main}
2628
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/systems.git@{env:MERLIN_BRANCH:main}
27-
bash -c 'python -m pytest --cov-report term --cov merlin -m "{env:PYTEST_MARKERS}" -rxs tests || ([ $? = 5 ] && exit 0 || exit $?)'
29+
bash -c 'python -m pytest --cov-report term --cov merlin -m "{env:PYTEST_MARKERS}" -rxs tests/ || ([ $? = 5 ] && exit 0 || exit $?)'
2830

2931
[testenv:py38-multi-gpu]
3032
; Runs in: Github Actions

0 commit comments

Comments
 (0)