fix: Fix YAML syntax error in CI workflow
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 <noreply@anthropic.com>
This commit is contained in:
parent
3b6cf05f50
commit
3ba98fc330
1 changed files with 1 additions and 8 deletions
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue