Skip to content

Commit 648493d

Browse files
committed
make: let .coverage be the standard coverage file
Python coverage tooling such as pytest-cov and coverage.py expects that .coverage is a sqlite file with the coverage results. TICS by default expects .coverage to be a directory containing cobertura.xml. TICS is configurable, however, so let's move to let the python coverage tooling have the defaults expected here, instead of expecting coverage tools to treat Subiquity special.
1 parent af060a5 commit 648493d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.coveragerc

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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DRYRUN?=--dry-run --bootloader uefi --machine-config examples/machines/simple.js
1111
--postinst-hooks-dir examples/postinst.d/
1212
UNITTESTARGS?=
1313
COVERAGEARGS:=--cov=subiquity --cov=subiquitycore --cov=console_conf
14-
COVERAGEARGS+=--cov-report xml:.coverage/cobertura.xml
14+
COVERAGEARGS+=--cov-report xml:.coverage.xml
1515
export PYTHONPATH
1616
CWD := $(shell pwd)
1717

0 commit comments

Comments
 (0)