Skip to content

Commit 1ea544a

Browse files
committed
Add coverage configuration file
1 parent 78cb6d8 commit 1ea544a

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

.coveragerc

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[run]
2+
branch=True
3+
cover_pylib=False
4+
concurrency=thread
5+
data_file=.coverage
6+
disable_warnings=
7+
trace-changed
8+
module-not-python
9+
module-not-imported
10+
no-data-collected
11+
module-not-measured
12+
# include-ignored
13+
omit =
14+
venv/*
15+
janis_core/tests/*
16+
setup.py
17+
parallel = True
18+
plugins=
19+
include=
20+
janis_core/*
21+
timid = False
22+
23+
24+
[report]
25+
26+
exclude_lines =
27+
pragma: no cover
28+
def __repr__
29+
raise NotImplementedError
30+
if __name__ == .__main__.:
31+
def parse_args
32+
def main
33+
fail_under=0
34+
ignore_errors = False
35+
omit =
36+
venv/*
37+
janis_core/tests/*
38+
setup.py
39+
precision=2
40+
show_missing=False
41+
skip_covered=False
42+
sort=Name
43+
44+
[html]
45+
46+
directory=htmlcov
47+
extra_css=
48+
title=
49+
50+
51+
[xml]
52+
53+
output=coverage.xml
54+
package_depth=99

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Unit Tests
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:

0 commit comments

Comments
 (0)