Skip to content

Commit 255e99f

Browse files
chore: split integration tests out of unit suite
1 parent c07972d commit 255e99f

11 files changed

Lines changed: 558 additions & 552 deletions

File tree

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ benchmark-python-local: ## Run integration + benchmark tests for Python (local d
168168

169169
test-python-unit: ## Run Python unit tests (use pattern=<pattern> to filter tests, e.g., pattern=milvus, pattern=test_online_retrieval.py, pattern=test_online_retrieval.py::test_get_online_features_milvus)
170170
uv run python -m pytest -n 8 --color=yes $(if $(pattern),-k "$(pattern)") \
171-
--ignore=sdk/python/tests/component/ray \
172-
--ignore=sdk/python/tests/component/spark \
173-
sdk/python/tests
171+
sdk/python/tests/unit
174172

175173
# Fast unit tests only
176174
test-python-unit-fast: ## Run fast unit tests only (no external dependencies)

sdk/python/tests/doctest/test_all.py renamed to sdk/python/tests/integration/doctest/test_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
import traceback
66
import unittest
77

8+
import pytest
9+
810
import feast
911
from feast.utils import _utc_now
1012

13+
pytestmark = pytest.mark.integration
14+
1115
FILES_TO_IGNORE = {"app"}
1216

1317

sdk/python/tests/unit/local_feast_tests/test_e2e_local.py renamed to sdk/python/tests/integration/local_feast_tests/test_e2e_local.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
from tests.utils.cli_repo_creator import CliRunner, get_example_repo
1919
from tests.utils.feature_records import validate_online_features
2020

21+
pytestmark = pytest.mark.integration
22+
2123

2224
@pytest.mark.skipif(
2325
platform.system() == "Darwin" and os.environ.get("CI") == "true",

0 commit comments

Comments
 (0)