Skip to content

Commit 04b08b5

Browse files
committed
make cov
1 parent e1f4f42 commit 04b08b5

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build:
1818

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

2323
commit:
2424
-git add .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ mkfeyndiag = "pyfeyn2.mkfeyndiag:main"
9797
[tool.pytest.ini_options]
9898
minversion = "6.0"
9999
testpaths = ["tests"]
100-
addopts = [ "-Werror","-v","--cov=pyfeyn2","--cov-config=.coveragerc","--cov-append","--cov-report=term","--cov-report=xml","--doctest-modules","--ignore=docs/source/conf.py" ]
100+
addopts = [ "-Werror","-v","--doctest-modules","--ignore=docs/source/conf.py" ]
101101
filterwarnings = [
102102
'error',
103103
'ignore: pkg_resources is deprecated as an API:DeprecationWarning',

pytest.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)