diff --git a/tests/integration/test_app_activity_functions.py b/tests/integration/test_app_activity_functions.py index b038cd5..7f697c0 100644 --- a/tests/integration/test_app_activity_functions.py +++ b/tests/integration/test_app_activity_functions.py @@ -32,6 +32,10 @@ class TestFlaskAppActivityFunctions(unittest.TestCase): def setUp(self): """Set up test Flask application with in-memory database""" + # Ensure instance directory exists (GitHub Actions might not have it) + import os + os.makedirs(app.app.instance_path, exist_ok=True) + # Store original database URI self.original_db_uri = app.app.config.get("SQLALCHEMY_DATABASE_URI")