File tree Expand file tree Collapse file tree 2 files changed +22
-17
lines changed
Expand file tree Collapse file tree 2 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -53,16 +53,10 @@ jobs:
5353 - name : Upload coverage to Codecov
5454 if : matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
5555 uses : codecov/codecov-action@v5
56- with :
57- token : ${{ secrets.CODECOV_TOKEN }}
58- slug : ddc/pythonLogs
5956
6057 - name : Upload test results to Codecov
6158 if : matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
6259 uses : codecov/test-results-action@v1
63- with :
64- token : ${{ secrets.CODECOV_TOKEN }}
65- slug : ddc/pythonLogs
6660
6761
6862 build :
Original file line number Diff line number Diff line change @@ -49,26 +49,37 @@ pytest = "^8.4.1"
4949pytest-cov = " ^6.2.1"
5050
5151[tool .poe .tasks ]
52- _test = " python -m pytest -v --cov=pythonLogs --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
52+ _test = " python -m pytest -v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
5353tests = [" _test" ]
5454test = [" tests" ]
5555
56- [tool .black ]
57- line-length = 120
58- skip-string-normalization = true
59-
60- [tool .pytest .ini_options ]
61- markers = [
62- " slow: marks tests as slow (deselect with '-m \" not slow\" ')"
63- ]
64-
6556[tool .coverage .run ]
6657omit = [
67- " build.py" ,
6858 " tests/*" ,
59+ " */__init__.py" ,
6960]
7061
7162[tool .coverage .report ]
7263exclude_lines = [
7364 " pragma: no cover" ,
65+ " def __repr__" ,
66+ " if self.debug:" ,
67+ " if settings.DEBUG" ,
68+ " raise AssertionError" ,
69+ " raise NotImplementedError" ,
70+ " if 0:" ,
71+ " if __name__ == .__main__.:" ,
72+ " class .*\\ bProtocol\\ ):" ,
73+ " @(abc\\ .)?abstractmethod" ,
7474]
75+ show_missing = false
76+ skip_covered = false
77+
78+ [tool .pytest .ini_options ]
79+ markers = [
80+ " slow: marks tests as slow (deselect with '-m \" not slow\" ')"
81+ ]
82+
83+ [tool .black ]
84+ line-length = 120
85+ skip-string-normalization = true
You can’t perform that action at this time.
0 commit comments