1
0
Fork 0
mirror of synced 2024-12-12 00:45:35 -05:00
dotbot/tox.ini

77 lines
1.4 KiB
INI
Raw Normal View History

[tox]
; On Windows, only CPython >= 3.8 is supported.
; All older versions, and PyPy, lack full symlink support.
envlist =
2022-05-12 16:41:38 -04:00
coverage_erase
py{38, 39, 310, 311, 312}-all_platforms
py{36, 37}-most_platforms
pypy3-most_platforms
2022-12-17 15:05:04 -05:00
coverage_report
skip_missing_interpreters = true
[testenv]
platform =
all_platforms: cygwin|darwin|linux|win32
most_platforms: cygwin|darwin|linux
deps =
2022-12-17 15:05:04 -05:00
coverage
pytest
pytest-randomly
pyyaml
commands =
2022-12-17 15:05:04 -05:00
coverage run -m pytest tests/
2022-05-12 16:41:38 -04:00
[testenv:coverage_erase]
skipsdist = true
skip_install = true
deps = coverage
commands = coverage erase
[testenv:coverage_report]
skipsdist = true
skip_install = true
deps = coverage
commands_pre =
coverage combine
commands =
coverage report
coverage html
2022-12-17 15:05:04 -05:00
coverage xml
2022-05-12 16:41:38 -04:00
[coverage:run]
branch = true
parallel = true
source =
dotbot/
tests/
[coverage:html]
directory = htmlcov
2022-05-12 17:30:44 -04:00
[gh-actions]
python =
; Run on all platforms (Linux, Mac, and Windows)
3.8: py38-all_platforms
3.9: py39-all_platforms
2022-05-12 17:30:44 -04:00
3.10: py310-all_platforms
2023-09-09 20:53:07 -04:00
3.11: py311-all_platforms
3.12: py312-all_platforms
2022-05-12 17:30:44 -04:00
; Run on most platforms (Linux and Mac)
2022-05-16 09:53:24 -04:00
pypy-3.9: pypy3-most_platforms
2022-05-12 17:30:44 -04:00
3.6: py36-most_platforms
3.7: py37-most_platforms
; Disable problem matcher because it causes issues when running in a container;
; see https://github.com/ymyzk/tox-gh-actions/issues/126
problem_matcher = False