From 681f3e646b325561cd90ce3048d84cb761752a1a Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Fri, 29 Nov 2024 09:33:32 -0500 Subject: [PATCH] Fix tests and run on every PR --- .github/workflows/test.yml | 9 ++------- test-requirements.txt | 8 +++----- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65177ab..d5277ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/test-requirements.txt b/test-requirements.txt index dbfa4e3..4c73142 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 \ No newline at end of file +pytest~=8.3.2 +pytest-asyncio~=0.23.5 +pytest-cov~=4.1.0 \ No newline at end of file