Skip to content

Commit 6320e8e

Browse files
committed
feat: add unit test
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
1 parent 7f96b08 commit 6320e8e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plugins/mamba-cp/tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ commands =
1212
# install the dependencies here to ensure
1313
# the order
1414
pip install -e {toxinidir}/../framework
15-
pytest {posargs:tests}
15+
# if all tests skipped
16+
# pytest should not report fail
17+
bash -c 'pytest {posargs:tests}; ec=$?; [ "$ec" = "5" ] && exit 0 || exit $ec'
18+
allowlist_externals = bash
1619

1720
[testenv:lint]
1821
description = run linters

0 commit comments

Comments
 (0)