From 3ba98fc3309bf9a6527626cc6d44c4dfe362d13d Mon Sep 17 00:00:00 2001 From: Bob Roberts Date: Mon, 27 Oct 2025 22:19:02 -0500 Subject: [PATCH] fix: Fix YAML syntax error in CI workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed Python heredoc syntax to python3 -c for GitHub Actions compatibility. The heredoc syntax wasn't parsing correctly in YAML context. 🤖 Generated with Claude Code Co-Authored-By: Claude --- .github/workflows/tests.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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: