Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 4 additions & 4 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,10 @@ workflows:
- athena
- fabric
- gcp-postgres
filters:
branches:
only:
- main
# filters:
# branches:
# only:
# - main
- ui_style
- ui_test
- vscode_test
Expand Down
9 changes: 8 additions & 1 deletion tests/core/engine_adapter/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

from sqlmesh import Config, Context
from sqlmesh.cli.project_init import init_example_project
from sqlmesh.core.config.common import VirtualEnvironmentMode
from sqlmesh.core.config.connection import ConnectionConfig
import sqlmesh.core.dialect as d
from sqlmesh.core.environment import EnvironmentSuffixTarget
Expand Down Expand Up @@ -1938,7 +1939,12 @@ def test_transaction(ctx: TestContext):
ctx.compare_with_current(table, input_data)


def test_sushi(ctx: TestContext, tmp_path: pathlib.Path):
@pytest.mark.parametrize(
"virtual_environment_mode", [VirtualEnvironmentMode.FULL, VirtualEnvironmentMode.DEV_ONLY]
)
def test_sushi(
ctx: TestContext, tmp_path: pathlib.Path, virtual_environment_mode: VirtualEnvironmentMode
):
if ctx.mark == "athena_hive":
pytest.skip(
"Sushi end-to-end tests only need to run once for Athena because sushi needs a hybrid of both Hive and Iceberg"
Expand Down Expand Up @@ -1984,6 +1990,7 @@ def _mutate_config(gateway: str, config: Config) -> None:
).sql(dialect=config.model_defaults.dialect)
for e in before_all
]
config.virtual_environment_mode = virtual_environment_mode

context = ctx.create_context(_mutate_config, path=tmp_path, ephemeral_state_connection=False)

Expand Down