Skip to content

feat: add uv-based BYOL path for existing Langfuse users (refs #3) (#8) #14

feat: add uv-based BYOL path for existing Langfuse users (refs #3) (#8)

feat: add uv-based BYOL path for existing Langfuse users (refs #3) (#8) #14

Workflow file for this run

name: Test Template
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install langfuse
- name: Validate shell script syntax
run: |
bash -n scripts/generate-env.sh
bash -n scripts/install-hook.sh
- name: Validate Python hook syntax
run: python3 -m py_compile hooks/langfuse_hook.py
- name: Validate Docker Compose
run: docker compose config > /dev/null
- name: Run unit tests
run: python3 tests/test_hook_unit.py
- name: Test env generation
run: |
printf 'test@example.com\nTest User\ntestpass123\nTest Org\n' | ./scripts/generate-env.sh
test -f .env
grep -q "POSTGRES_PASSWORD=" .env
grep -q "LANGFUSE_INIT_USER_EMAIL=test@example.com" .env