Skip to content

Commit

Permalink
make cov
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Jan 19, 2025
1 parent e1f4f42 commit 04b08b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build:

test:
rm -f .coverage coverage.xml
hatch run all:pytest
hatch run all:pytest --cov=pyfeyn2 --cov-config=.coveragerc --cov-append --cov-report=term --cov-report=xml

commit:
-git add .
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ mkfeyndiag = "pyfeyn2.mkfeyndiag:main"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = [ "-Werror","-v","--cov=pyfeyn2","--cov-config=.coveragerc","--cov-append","--cov-report=term","--cov-report=xml","--doctest-modules","--ignore=docs/source/conf.py" ]
addopts = [ "-Werror","-v","--doctest-modules","--ignore=docs/source/conf.py" ]
filterwarnings = [
'error',
'ignore: pkg_resources is deprecated as an API:DeprecationWarning',
Expand Down
3 changes: 0 additions & 3 deletions pytest.ini

This file was deleted.

0 comments on commit 04b08b5

Please sign in to comment.