File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,8 @@ dev-mode = true
117117[tool .hatch .envs .default .scripts ]
118118test = " pytest {args:tests}"
119119test-no-docker = " pytest {args:tests}"
120- test-cov = " coverage run -m pytest {args:tests}"
121- test-cov-no-docker = " coverage run -m pytest {args:tests}"
122- test-cov-xml = [
123- " coverage run -m pytest {args:tests}" ,
124- " coverage xml" ,
125- ]
120+ test-cov = " pytest --cov=ipython2cwl --cov-report=term-missing {args:tests}"
121+ test-cov-xml = " pytest --cov=ipython2cwl --cov-report=xml --cov-report=term-missing {args:tests}"
126122cov-report = [
127123 " - coverage combine" ,
128124 " coverage report" ,
@@ -173,11 +169,11 @@ testpaths = [
173169
174170# Coverage configuration
175171[tool .coverage .run ]
176- source_pkgs = [" ipython2cwl" , " tests " ]
172+ source = [" ipython2cwl" ]
177173branch = true
178- parallel = true
179174omit = [
180175 " ipython2cwl/__about__.py" ,
176+ " */tests/*" ,
181177]
182178
183179[tool .coverage .paths ]
You can’t perform that action at this time.
0 commit comments