File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ jobs:
23
23
python-version : ${{ matrix.python-version }}
24
24
25
25
- name : install tests dependencies
26
- run : python -m pip install tox
26
+ run : python -m pip install tox coverage[toml]
27
27
28
28
- name : run Python tests
29
- run : tox -e tests
29
+ run : |
30
+ tox -e tests
31
+ coverage xml
30
32
31
33
- name : upload to codecov.io
32
34
uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -86,7 +86,12 @@ known_first_party = "skmatter"
86
86
87
87
[tool .pytest .ini_options ]
88
88
testpaths = [" tests" ]
89
- addopts = [" --cov" ]
89
+ addopts = [
90
+ " --cov" ,
91
+ " --cov-append" ,
92
+ " --cov-report=" ,
93
+ " --import-mode=append" ,
94
+ ]
90
95
91
96
[tool .ruff ]
92
97
exclude = [" docs/src/examples/" ]
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ usedevelop = true
34
34
changedir = tests
35
35
deps =
36
36
ase
37
- coverage[toml]
38
37
parameterized
39
38
pytest
40
39
pytest-cov
@@ -47,10 +46,6 @@ commands =
47
46
# Run documentation tests
48
47
pytest --doctest-modules --pyargs skmatter {posargs}
49
48
50
- # after executing the pytest assembles the coverage reports
51
- commands_post =
52
- coverage xml
53
-
54
49
[testenv:lint]
55
50
description = Checks the code and doc for programmatic and stylistic errors
56
51
skip_install = true
You can’t perform that action at this time.
0 commit comments