diff --git a/.github/workflows/python-tests.yaml b/.github/workflows/python-tests.yaml index 6ef3716cb..a622bbe2d 100644 --- a/.github/workflows/python-tests.yaml +++ b/.github/workflows/python-tests.yaml @@ -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 }} diff --git a/pyproject.toml b/pyproject.toml index 03a41a314..85e0998ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ langchain = [ test = [ "openai", "langchain", - "coverage", + "pytest-cov", ] dev = [