Skip to content

Commit 528d31c

Browse files
committed
coverage: unify source
1 parent c26a788 commit 528d31c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.coveragerc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[run]
22
branch = True
3-
source = cwltool
3+
source_pkgs = cwltool
44
omit = cwltool/run_job.py
55

66
[report]

conformance-test.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ fi
6666
find . -name '.coverage*' -print0 | xargs -0 rm -f
6767
rm -f coverage.xml
6868

69-
source=$(realpath ../cwltool)
7069
COVERAGE_RC=${PWD}/.coveragerc
7170
cat > "${COVERAGE_RC}" <<EOF
7271
[run]
7372
branch = True
74-
source = ${source}
73+
source_pkgs = cwltool
7574
7675
[report]
7776
exclude_lines =

0 commit comments

Comments
 (0)