File tree Expand file tree Collapse file tree 4 files changed +26
-18
lines changed Expand file tree Collapse file tree 4 files changed +26
-18
lines changed Original file line number Diff line number Diff line change 28
28
with :
29
29
python_version : ${{ fromJson(needs.Params.outputs.params).python_version }}
30
30
artifact : ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
31
- coverage_config : tests/.coveragerc
32
31
secrets :
33
32
codacy_token : ${{ secrets.CODACY_PROJECT_TOKEN }}
34
33
Original file line number Diff line number Diff line change @@ -8,3 +8,29 @@ build-backend = "setuptools.build_meta"
8
8
9
9
[tool .black ]
10
10
line-length = 120
11
+
12
+ [tool .pytest .ini_options ]
13
+ # Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
14
+ # derived from unittest.Testcase
15
+ python_files = " *"
16
+ python_functions = " test_*"
17
+
18
+ [tool .coverage .run ]
19
+ branch = true
20
+ omit = [
21
+ " *site-packages*" ,
22
+ " setup.py"
23
+ ]
24
+
25
+ [tool .coverage .report ]
26
+ skip_covered = true
27
+ skip_empty = true
28
+ exclude_lines = [
29
+ " raise NotImplementedError"
30
+ ]
31
+
32
+ [tool .coverage .html ]
33
+ directory = " report/coverage/html"
34
+
35
+ [tool .coverage .xml ]
36
+ output = " report/coverage/coverage.xml"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments