Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pr_ray_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- labeled

jobs:
integration-test-ray-offline:
integration-test-ray:
if:
((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&
Expand All @@ -27,5 +27,5 @@ jobs:
pixi-version: v0.63.1
environments: ray-tests
cache: true
- name: Run Ray offline store integration tests
run: make test-python-universal-ray-offline
- name: Run Ray integration tests (offline store + compute engine)
run: make test-python-ray-integration
6 changes: 3 additions & 3 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -1317,14 +1317,14 @@
"filename": "sdk/python/tests/integration/feature_repos/repo_configuration.py",
"hashed_secret": "d90e76ef629fb00c95f4e84fec29fbda111e2392",
"is_verified": false,
"line_number": 455
"line_number": 452
},
{
"type": "Secret Keyword",
"filename": "sdk/python/tests/integration/feature_repos/repo_configuration.py",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 457
"line_number": 454
}
],
"sdk/python/tests/integration/feature_repos/universal/data_sources/file.py": [
Expand Down Expand Up @@ -1539,5 +1539,5 @@
}
]
},
"generated_at": "2026-03-02T17:53:50Z"
"generated_at": "2026-03-03T05:01:02Z"
}
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ test-python-integration: ## Run Python integration tests (CI)
-k "(not snowflake or not test_historical_features_main)" \
-m "not rbac_remote_integration_test" \
--ignore=sdk/python/tests/integration/registration \
--ignore=sdk/python/tests/integration/compute_engines/ray_compute \
--log-cli-level=INFO -s \
sdk/python/tests

Expand Down Expand Up @@ -402,14 +403,9 @@ test-python-universal-postgres-offline: ## Run Python Postgres integration tests
not test_spark" \
sdk/python/tests

test-python-universal-ray-offline: ## Run Python Ray offline store integration tests
test-python-ray-integration: ## Run all Python Ray integration tests (offline store + compute engine)
pixi run -e ray-tests test

test-python-ray-compute-engine: ## Run Python Ray compute engine tests
PYTHONPATH='.' \
python -m pytest -v --integration \
sdk/python/tests/integration/compute_engines/ray_compute/

test-python-universal-postgres-online: ## Run Python Postgres integration tests
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.postgres_online_store.postgres_repo_configuration \
Expand Down
182 changes: 180 additions & 2 deletions pixi.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,12 @@ test = { cmd = "python -m pytest -n 8 --integration -m 'not ray_offline_stores_o
feast = { path = ".", editable = true, extras = ["ray", "grpcio", "test"] }

[tool.pixi.feature.ray-tests.tasks]
test = { cmd = "python -m pytest -n 1 --integration --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py sdk/python/tests/integration/offline_store", env = { PYTHONPATH = ".", FULL_REPO_CONFIGS_MODULE = "sdk.python.tests.integration.feature_repos.ray_repo_configuration", FEAST_IS_LOCAL_TEST = "True" } }
test-offline = { cmd = "python -m pytest -v --integration --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py sdk/python/tests/integration/offline_store", env = { PYTHONPATH = ".", FULL_REPO_CONFIGS_MODULE = "sdk.python.tests.integration.feature_repos.ray_repo_configuration", FEAST_IS_LOCAL_TEST = "True" } }
test-compute = { cmd = "python -m pytest -v --integration sdk/python/tests/integration/compute_engines/ray_compute", env = { PYTHONPATH = ".", FEAST_IS_LOCAL_TEST = "True" } }
test = { depends-on = ["test-offline", "test-compute"] }

[tool.pixi.feature.registration-tests.pypi-dependencies]
feast = { path = ".", editable = true, extras = ["aws", "gcp", "grpcio", "postgres", "mysql", "spark", "test"] }
feast = { path = ".", editable = true, extras = ["aws", "gcp", "grpcio", "postgres", "mysql", "snowflake", "spark", "test"] }
grpcio-testing = ">=1.56.2,<=1.62.3"

[tool.pixi.feature.registration-tests.tasks]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@
from tests.integration.feature_repos.integration_test_repo_config import (
IntegrationTestRepoConfig,
)
from tests.integration.feature_repos.universal.online_store.redis import (
RedisOnlineStoreCreator,
)


def get_ray_compute_engine_test_config() -> IntegrationTestRepoConfig:
"""Get test configuration for Ray compute engine."""
return IntegrationTestRepoConfig(
provider="local",
online_store_creator=RedisOnlineStoreCreator,
online_store={"type": "sqlite"},
offline_store_creator=RayDataSourceCreator,
batch_engine={
"type": "ray.engine",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@
("local", RemoteOfflineTlsStoreDataSourceCreator),
]

# Ray offline store tests are run separately via `make test-python-universal-ray`
# so we don't include them in the default offline store list.

if os.getenv("FEAST_IS_LOCAL_TEST", "False") == "True":
AVAILABLE_OFFLINE_STORES.extend(
[
Expand Down
Loading