Skip to content

Commit

Permalink
Fixed macos kafka CI (#1807)
Browse files Browse the repository at this point in the history
* Update tox to run kafka separately.

* Included clarification comments.
  • Loading branch information
RobertSamoilescu authored Jun 17, 2024
1 parent d3c12b6 commit b407512
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ commands_pre =
poetry install --sync --no-root
commands =
python -m pytest {posargs} -n auto \
{toxinidir}/tests
{toxinidir}/tests --ignore={toxinidir}/tests/kafka
# 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
set_env =
GITHUB_SERVER_URL = {env:GITHUB_SERVER_URL:https\://github.com}
GITHUB_REPOSITORY = {env:GITHUB_REPOSITORY:SeldonIO/MLServer}
Expand All @@ -41,7 +45,12 @@ commands =
{toxinidir}/runtimes/mllib \
{toxinidir}/runtimes/lightgbm \
{toxinidir}/runtimes/mlflow \
{toxinidir}/runtimes/huggingface
{toxinidir}/runtimes/huggingface \
--ignore={toxinidir}/tests/kafka
# 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
set_env =
GITHUB_SERVER_URL = {env:GITHUB_SERVER_URL:https\://github.com}
GITHUB_REPOSITORY = {env:GITHUB_REPOSITORY:SeldonIO/MLServer}
Expand Down

0 comments on commit b407512

Please sign in to comment.