Skip to content

Commit

Permalink
Ignore parallel tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertSamoilescu committed Jun 18, 2024
1 parent 581ae46 commit 796b6c6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ commands_pre =
poetry install --sync --no-root
commands =
python -m pytest {posargs} -n auto \
{toxinidir}/tests --ignore={toxinidir}/tests/kafka
{toxinidir}/tests \
--ignore={toxinidir}/tests/kafka \
--ignore={toxinidir}/tests/parallel
# kafka tests are failinig for macos when running in parallel
# with the entire test suite. So, we run them separately.
python -m pytest {posargs} -n auto \
{toxinidir}/tests/kafka
python -m pytest {posargs} \
{toxinidir}/tests/parallel
set_env =
GITHUB_SERVER_URL = {env:GITHUB_SERVER_URL:https\://github.com}
GITHUB_REPOSITORY = {env:GITHUB_REPOSITORY:SeldonIO/MLServer}
Expand All @@ -37,11 +41,15 @@ commands_pre =
--with all-runtimes-dev
commands =
python -m pytest {posargs} -n auto \
{toxinidir}/tests --ignore={toxinidir}/tests/kafka
{toxinidir}/tests \
--ignore={toxinidir}/tests/kafka
--ignore={toxinidir}/tests/parallel
# kafka tests are failinig for macos when running in parallel
# with the entire test suite. So, we run them separately.
python -m pytest {posargs} -n auto \
{toxinidir}/tests/kafka
python -m pytest {posargs} \
{toxinidir}/tests/parallel
python -m pytest {posargs} -n auto \
{toxinidir}/runtimes/alibi-explain
python -m pytest {posargs} -n auto \
Expand Down

0 comments on commit 796b6c6

Please sign in to comment.