test: mark integration suite with pytest.mark.integration
PR Checks / hadolint (pull_request) Successful in 32s
Docker Build and Push / test (pull_request) Successful in 3m40s
Docker Build and Push / integration-test (pull_request) Failing after 4m20s
Docker Build and Push / build (pull_request) Skipped
PR Checks / pytest (pull_request) Successful in 3m29s
PR Checks / build-test (pull_request) Successful in 4m38s
PR Checks / hadolint (pull_request) Successful in 32s
Docker Build and Push / test (pull_request) Successful in 3m40s
Docker Build and Push / integration-test (pull_request) Failing after 4m20s
Docker Build and Push / build (pull_request) Skipped
PR Checks / pytest (pull_request) Successful in 3m29s
PR Checks / build-test (pull_request) Successful in 4m38s
Required for -m 'not integration' to actually deselect them (pytest.ini addopts) and for 'pytest -m integration' in the nightly CI job.
This commit is contained in:
1 parent
de27820cc7
commit
9417e577a9
1 file changed
+4
@@ -11,6 +11,10 @@ os.environ["EMBEDDING_MODEL_NAME"] = "BAAI/bge-small-en-v1.5"
|
||||
from server import get_qdrant_client, get_embedding_model, search_emails, read_email
|
||||
from qdrant_client.http import models
|
||||
|
||||
# Requires a live Qdrant on localhost:6333 (see pytest.ini: deselected by
|
||||
# default; run with `pytest -m integration`, nightly CI does exactly that).
|
||||
pytestmark = pytest.mark.integration
|
||||
|
||||
|
||||
TEST_EMAILS = [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user