Disable coverage status checks
[dotbot.git] / tox.ini
blob43c926d0e2aec91772fbac2600876c67e4d497ef
1 [tox]
2 ; On Windows, only CPython >= 3.8 is supported.
3 ; All older versions, and PyPy, lack full symlink support.
4 envlist =
5 coverage_erase
6 py{38, 39, 310, 311, 312}-all_platforms
7 py{36, 37}-most_platforms
8 pypy3-most_platforms
9 coverage_report
10 skip_missing_interpreters = true
13 [testenv]
14 platform =
15 all_platforms: cygwin|darwin|linux|win32
16 most_platforms: cygwin|darwin|linux
18 deps =
19 coverage
20 pytest
21 pytest-randomly
22 pyyaml
24 commands =
25 coverage run -m pytest tests/
28 [testenv:coverage_erase]
29 skipsdist = true
30 skip_install = true
31 deps = coverage
32 commands = coverage erase
35 [testenv:coverage_report]
36 skipsdist = true
37 skip_install = true
38 deps = coverage
39 commands_pre =
40 coverage combine
42 commands =
43 coverage report
44 coverage html
45 coverage xml
48 [coverage:run]
49 branch = true
50 parallel = true
51 source =
52 dotbot/
53 tests/
56 [coverage:html]
57 directory = htmlcov
60 [gh-actions]
61 python =
62 ; Run on all platforms (Linux, Mac, and Windows)
63 3.8: py38-all_platforms
64 3.9: py39-all_platforms
65 3.10: py310-all_platforms
66 3.11: py311-all_platforms
67 3.12: py312-all_platforms
69 ; Run on most platforms (Linux and Mac)
70 pypy-3.9: pypy3-most_platforms
71 3.6: py36-most_platforms
72 3.7: py37-most_platforms
74 ; Disable problem matcher because it causes issues when running in a container;
75 ; see https://github.com/ymyzk/tox-gh-actions/issues/126
76 problem_matcher = False