Skip to content

Commit

Permalink
Move pytest-cov config into pyproject.toml and fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Oct 14, 2024
1 parent 937d9df commit d8f1cfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Run all tests
working-directory: ./pydatalab
run: |
uv run pytest -rs -vvv --cov-report=term --cov-report=xml --cov ./pydatalab ./tests
uv run pytest -rs -vvv /tests
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10' && github.repository == 'datalab-org/datalab'
Expand Down
3 changes: 3 additions & 0 deletions pydatalab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,6 @@ dev-dependencies = [
"mkdocstrings[python-legacy] ~= 0.25",
"mkdocs-awesome-pages-plugin ~= 2.9",
]

[tool.pytest.ini_options]
addopts = "--cov-report=term --cov-report=xml --cov ./src/pydatalab"

0 comments on commit d8f1cfa

Please sign in to comment.