File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ jobs:
28
28
with :
29
29
fetch-depth : 0
30
30
filter : blob:none
31
- - uses : actions/setup-python@v4
31
+ - uses : actions/setup-python@v5
32
32
with :
33
33
python-version : ${{ matrix.python-version }}
34
34
cache : pip
35
35
- name : dependencies
36
36
run : |
37
37
pip install --upgrade pip wheel
38
- pip install .[test,typehints]
38
+ pip install .[test,typehints] coverage-rich 'anyconfig[toml] >=0.14'
39
39
- name : tests
40
40
run : coverage run -m pytest --verbose --color=yes
41
41
- name : show coverage
42
42
run : coverage-rich report
43
43
- name : upload coverage
44
- uses : codecov/codecov-action@v3
44
+ uses : codecov/codecov-action@v4
45
45
with :
46
46
fail_ci_if_error : true
47
47
token : c66a2830-d3c7-4ae7-a230-21aef89dcf65
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ dev = ['pre-commit']
28
28
test = [
29
29
' pytest' ,
30
30
' coverage' ,
31
- ' coverage-rich' ,
32
- ' anyconfig[toml] >=0.14' , # coverage-rich uses anyconfig
33
31
' legacy-api-wrap' ,
34
32
' defusedxml' , # sphinx[test] would also pull in cython
35
33
]
@@ -100,17 +98,8 @@ features = ['doc']
100
98
[tool .hatch .envs .docs .scripts ]
101
99
build = ' sphinx-build -M html docs docs/_build'
102
100
103
- [[tool .hatch .envs .test .matrix ]]
104
- python = [' 3.9' , ' 3.10' , ' 3.11' , ' 3.12' ]
105
- [tool .hatch .envs .test ]
101
+ [tool .hatch .envs .hatch-test ]
106
102
features = [' test' , ' typehints' ]
107
- [tool .hatch .envs .test .scripts ]
108
- run = ' pytest -vv {args}'
109
- cov = [
110
- ' coverage run -m pytest -vv {args}' ,
111
- ' coverage xml' ,
112
- ' coverage-rich report' ,
113
- ]
114
103
115
104
[tool .pytest .ini_options ]
116
105
addopts = [
You can’t perform that action at this time.
0 commit comments