From 29eb7601a9e0ce77993f06f22d8e7eda121e9e3f Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 2 Oct 2024 18:03:26 +0200 Subject: [PATCH] Only 1 test, no container name --- .github/workflows/build.yaml | 2 +- integration-tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 99ec299e..81707088 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -199,5 +199,5 @@ jobs: echo $DOCKER_IMAGE # python -c 'import docker; client = docker.from_env(); client.containers.run("registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm", devices=["/dev/kfd", "/dev/dri"], env={"MODEL_ID": "gpt2"}, detach=True)' which pytest - pytest -s -vv integration-tests -k flash_llama_grammar_tools + pytest -s -vv integration-tests -k flash_llama_grammar_tools_auto # pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST} diff --git a/integration-tests/conftest.py b/integration-tests/conftest.py index 7814722b..2808b950 100644 --- a/integration-tests/conftest.py +++ b/integration-tests/conftest.py @@ -532,7 +532,7 @@ def launcher(event_loop): container = client.containers.run( DOCKER_IMAGE, command=args, - name=container_name, + # name=container_name, environment=env, auto_remove=False, detach=True,