File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 99
99
- run : ls -la coverage
100
100
- run : coverage combine coverage
101
101
- run : coverage report
102
- - run : coverage html --show-contexts -- title "Coverage for ${{ github.sha }}"
102
+ - run : coverage html --title "Coverage for ${{ github.sha }}"
103
103
- name : Store coverage HTML
104
104
uses : actions/upload-artifact@v4
105
105
with :
Original file line number Diff line number Diff line change @@ -86,18 +86,24 @@ source = [
86
86
" tests" ,
87
87
]
88
88
context = ' ${CONTEXT}'
89
+ dynamic_context = " test_function"
89
90
omit = [
90
91
" tests/assets/*" ,
91
92
]
92
93
93
94
[tool .coverage .report ]
95
+ show_missing = true
96
+ sort = " -Cover"
94
97
exclude_lines = [
95
98
" pragma: no cover" ,
96
99
" @overload" ,
97
100
' if __name__ == "__main__":' ,
98
101
" if TYPE_CHECKING:" ,
99
102
]
100
103
104
+ [tool .coverage .html ]
105
+ show_contexts = true
106
+
101
107
[tool .mypy ]
102
108
strict = true
103
109
exclude = [
Original file line number Diff line number Diff line change 5
5
6
6
bash scripts/test.sh ${@ }
7
7
coverage combine
8
- coverage report --show-missing
8
+ coverage report
9
9
coverage html
You can’t perform that action at this time.
0 commit comments