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:
2323 python-version : ${{ matrix.python-version }}
2424
2525 - name : install tests dependencies
26- run : python -m pip install tox
26+ run : python -m pip install tox coverage[toml]
2727
2828 - name : run Python tests
29- run : tox -e tests
29+ run : |
30+ tox -e tests
31+ coverage xml
3032
3133 - name : upload to codecov.io
3234 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -86,7 +86,12 @@ known_first_party = "skmatter"
8686
8787[tool .pytest .ini_options ]
8888testpaths = [" tests" ]
89- addopts = [" --cov" ]
89+ addopts = [
90+ " --cov" ,
91+ " --cov-append" ,
92+ " --cov-report=" ,
93+ " --import-mode=append" ,
94+ ]
9095
9196[tool .ruff ]
9297exclude = [" docs/src/examples/" ]
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ usedevelop = true
3434changedir = tests
3535deps =
3636 ase
37- coverage[toml]
3837 parameterized
3938 pytest
4039 pytest-cov
@@ -47,10 +46,6 @@ commands =
4746 # Run documentation tests
4847 pytest --doctest-modules --pyargs skmatter {posargs}
4948
50- # after executing the pytest assembles the coverage reports
51- commands_post =
52- coverage xml
53-
5449[testenv:lint]
5550description = Checks the code and doc for programmatic and stylistic errors
5651skip_install = true
You can’t perform that action at this time.
0 commit comments