Skip to content

Commit

Permalink
Run pytest with cov in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alihamdan committed Dec 31, 2024
1 parent f187513 commit 52d1615
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -67,7 +67,7 @@ jobs:
- name: Test with pytest
run: |
uv run pytest -vv -n=auto --durations=25 --cov-report html --cov-config pyproject.toml roseau
uv run pytest -vv -n=auto --durations=25 --cov --cov-report=html roseau
env:
ROSEAU_LOAD_FLOW_LICENSE_KEY: ${{ secrets.ROSEAU_LOAD_FLOW_LICENSE_KEY }}

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ docstring-code-format = true
branch = false
omit = ["roseau/load_flow/__about__.py"]
plugins = ["coverage_conditional_plugin"]
source = ["roseau"]

[tool.coverage.coverage_conditional_plugin.rules]
no-cover-if-py-gte-311 = "sys_version_info >= (3, 11)"
Expand Down

0 comments on commit 52d1615

Please sign in to comment.