-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
51 lines (46 loc) · 845 Bytes
/
tox.ini
File metadata and controls
51 lines (46 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist = py{311,312,313,314}-{linux,macos,windows}
isolated_build = true
[gh-actions]
python =
3.11: py311
3.12: py312
3.13: py313
3.14: py314
fail_on_no_env = true
[testenv]
platform =
macos: darwin
linux: linux
windows: win32
setenv =
PYTHONPATH = {toxinidir}
PYTHONUNBUFFERED=yes
dependency_groups =
test
commands =
pytest -vv --cov --cov-report=xml {posargs}
[testenv:package]
isolated_build = true
skip_install = true
deps =
check_manifest
wheel
twine
build
commands =
check-manifest
python -m build
python -m twine check dist/*
[testenv:docs]
usedevelop = true
dependency_groups =
doc
commands =
mkdocs build
[testenv:coverage]
usedevelop = true
commands =
pytest -vv --cov=src/mda_tui --cov-report=xml
coverage report
coverage html