fix(ci): add pytest-cov to resolve coverage flag error
Some checks failed
DSPy RAG Evaluation / Layer 1 - Unit Tests (push) Failing after 10m35s
DSPy RAG Evaluation / Layer 3 - Integration Tests (push) Has been skipped
DSPy RAG Evaluation / Layer 2 - DSPy Module Tests (push) Has been skipped
DSPy RAG Evaluation / Layer 4 - Comprehensive Evaluation (push) Has been skipped
DSPy RAG Evaluation / Quality Gate (push) Failing after 1s
Some checks failed
DSPy RAG Evaluation / Layer 1 - Unit Tests (push) Failing after 10m35s
DSPy RAG Evaluation / Layer 3 - Integration Tests (push) Has been skipped
DSPy RAG Evaluation / Layer 2 - DSPy Module Tests (push) Has been skipped
DSPy RAG Evaluation / Layer 4 - Comprehensive Evaluation (push) Has been skipped
DSPy RAG Evaluation / Quality Gate (push) Failing after 1s
pyproject.toml has --cov flags in addopts which require pytest-cov. Added pytest-cov to all jobs that run pytest.
This commit is contained in:
parent
38db05656a
commit
44061eb736
1 changed files with 4 additions and 4 deletions
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
source ${{ env.VENV_PATH }}/bin/activate
|
source ${{ env.VENV_PATH }}/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
pip install rapidfuzz
|
pip install rapidfuzz pytest-cov
|
||||||
|
|
||||||
- name: Run Layer 1 unit tests
|
- name: Run Layer 1 unit tests
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -110,7 +110,7 @@ jobs:
|
||||||
source ${{ env.VENV_PATH }}/bin/activate
|
source ${{ env.VENV_PATH }}/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
pip install dspy-ai httpx rapidfuzz litellm
|
pip install dspy-ai httpx rapidfuzz litellm pytest-cov
|
||||||
|
|
||||||
- name: Run Layer 2 DSPy tests
|
- name: Run Layer 2 DSPy tests
|
||||||
env:
|
env:
|
||||||
|
|
@ -151,7 +151,7 @@ jobs:
|
||||||
source ${{ env.VENV_PATH }}/bin/activate
|
source ${{ env.VENV_PATH }}/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
pip install httpx pytest-asyncio
|
pip install httpx pytest-asyncio pytest-cov
|
||||||
|
|
||||||
- name: Setup SSH for tunnel
|
- name: Setup SSH for tunnel
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -222,7 +222,7 @@ jobs:
|
||||||
source ${{ env.VENV_PATH }}/bin/activate
|
source ${{ env.VENV_PATH }}/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
pip install dspy-ai httpx rapidfuzz pandas pytest-json-report litellm
|
pip install dspy-ai httpx rapidfuzz pandas pytest-json-report litellm pytest-cov
|
||||||
|
|
||||||
- name: Setup SSH for tunnel
|
- name: Setup SSH for tunnel
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue