diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08e40e1..0bde937 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,14 +38,7 @@ jobs: - name: Initialize SQLite database run: | - python3 << 'EOF' -import os -from app.core.sqlite_manager import get_sqlite_manager - -# Initialize the database -db = get_sqlite_manager() -print("✅ SQLite database initialized for testing") -EOF + python3 -c "from app.core.sqlite_manager import get_sqlite_manager; db = get_sqlite_manager(); print('✅ SQLite database initialized for testing')" - name: Run unit tests env: