Skip to content

Commit

Permalink
use pytest-cov instead of 'coverage'
Browse files Browse the repository at this point in the history
Signed-off-by: Teo <[email protected]>
  • Loading branch information
teocns committed Dec 29, 2024
1 parent 44ebeab commit a3dbd85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ jobs:
- name: Run tests with coverage
run: |
uv run -m coverage run --source . -m pytest
uv run -m coverage report -m
uv run -m coverage xml
uv run -m pytest --cov-report=xml
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AGENTOPS_API_KEY: ${{ secrets.AGENTOPS_API_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ langchain = [
test = [
"openai",
"langchain",
"coverage",
"pytest-cov",
]

dev = [
Expand Down

0 comments on commit a3dbd85

Please sign in to comment.