Skip to content

Commit

Permalink
[tox] Update quick-test modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
SepandKashani committed Aug 17, 2024
1 parent 7f1120b commit f888102
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@ usedevelop = true
allowlist_externals =
/bin/sh
commands =
/bin/sh -c ' \
if [ -z "{posargs}" ]; then \
python3 -m pytest \
--verbosity=1 \
-r a \
-k="not (pinv or dagger or asarray)" \
{toxinidir}/src/pyxu_tests/math \
{toxinidir}/src/pyxu_tests/operator/ \
{toxinidir}/src/pyxu_tests/opt/solver/test_cg.py \
{toxinidir}/src/pyxu_tests/test_runtime.py \
{toxinidir}/src/pyxu_tests/util/; \
elif [ "{posargs}" = "all" ]; then \
python3 -m pytest \
--verbosity=1 \
-r a \
{toxinidir}/src/pyxu_tests/; \
else \
exit 1; \
fi \
/bin/sh -c ' \
if [ -z "{posargs}" ]; then \
python3 -m pytest \
--verbosity=1 \
-r a \
-k="not (pinv or dagger or asarray)" \
{toxinidir}/src/pyxu_tests/math/ \
{toxinidir}/src/pyxu_tests/operator/interop/test_sciop.py \
{toxinidir}/src/pyxu_tests/operator/interop/test_source.py \
{toxinidir}/src/pyxu_tests/operator/examples/ \
{toxinidir}/src/pyxu_tests/opt/solver/test_cg.py \
{toxinidir}/src/pyxu_tests/util/; \
elif [ "{posargs}" = "all" ]; then \
python3 -m pytest \
--verbosity=1 \
-r a \
{toxinidir}/src/pyxu_tests/; \
else \
exit 1; \
fi \
'

# Pre-commit hooks ============================================================
Expand Down

0 comments on commit f888102

Please sign in to comment.