Skip to content

Commit

Permalink
Merge pull request #53 from pipecat-ai/mb/fix-tests
Browse files Browse the repository at this point in the history
Fix tests and run on every PR
  • Loading branch information
markbackman authored Nov 29, 2024
2 parents e2ad9be + 681f3e6 commit dece80c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ jobs:
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r dev-requirements.txt -r test-requirements.txt
pip install "pipecat-ai[google,openai,anthropic]"
pip install -e .
- name: Test with pytest
run: |
source .venv/bin/activate
pytest tests/ --cov=pipecat_flows --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true
pytest tests/ --cov=pipecat_flows
8 changes: 3 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pipecat-ai>=0.0.49
loguru~=0.7.2
anthropic~=0.30.0
google-generativeai~=0.7.2
openai~=1.37.2
pytest~=8.3.2
pytest-asyncio~=0.23.5
pytest-cov~=4.1.0

0 comments on commit dece80c

Please sign in to comment.