Remove hardcoded 'How can I help you today?' phrase from voice agent … #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD Voice Agent Service | |
| on: | |
| push: | |
| paths: | |
| - 'services/voice-agent/**' | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| paths: | |
| - 'services/voice-agent/**' | |
| branches: | |
| - main | |
| - develop | |
| workflow_dispatch: | |
| env: | |
| PYTHON_VERSION: '3.10' | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| cache: 'pip' | |
| - name: Install dependencies | |
| working-directory: services/voice-agent | |
| run: | | |
| pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Verify Python syntax | |
| working-directory: services/voice-agent | |
| run: | | |
| python -m py_compile src/main.py | |
| python -m py_compile src/agent.py | |
| python -m py_compile src/config.py | |
| echo "✅ Python syntax check passed" | |
| - name: Check imports | |
| working-directory: services/voice-agent | |
| run: | | |
| python -c "import sys; sys.path.insert(0, 'src'); import main; import agent; import config; print('✅ All imports successful')" | |