PunimTag Web Application - Major Feature Release #1
@ -184,6 +184,7 @@ jobs:
|
||||
run: |
|
||||
apt-get update && apt-get install -y postgresql-client
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
pip install --no-cache-dir pytest httpx
|
||||
|
||||
- name: Audit Python dependencies
|
||||
run: |
|
||||
@ -191,6 +192,12 @@ jobs:
|
||||
pip-audit --desc || true
|
||||
continue-on-error: true
|
||||
|
||||
- name: Initialize database schemas
|
||||
run: |
|
||||
export PYTHONPATH=$(pwd)
|
||||
python -c "from backend.db.models import Base; from backend.db.session import engine; Base.metadata.create_all(bind=engine)"
|
||||
echo "✅ Database schema initialized"
|
||||
|
||||
- name: Run backend tests
|
||||
run: |
|
||||
export PYTHONPATH=$(pwd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user