Skip to content

Commit

Permalink
pdm nox cov-xml
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Jan 21, 2024
1 parent c519893 commit a441b74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ def test(session):
session.run_always(
"pdm", "sync", "-G", "test", "-G", "pyvista", "--clean", external=True
)
command = (
"pdm run pytest tests doc/examples --cov --cov-report term --cov-report xml"
)
session.run(*command.split(), external=True)
session.run("pdm", "run", "cov-xml", external=True)


@nox.session
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ doc = [

[tool.pdm.scripts]
cov = "pytest tests doc/examples/ --cov --cov-report term --cov-report html"
cov-xml = "pytest tests doc/examples --cov --cov-report term --cov-report xml"
black = "black -l 82 src tests doc dev"
isort = "isort src tests doc dev"
format = {composite = ["black", "isort"]}
Expand Down

0 comments on commit a441b74

Please sign in to comment.