[b44cdf]: / tox.ini

Download this file

28 lines (24 with data), 558 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
[tox]
requires =
tox>=4
tox-gh-actions
env_list = py{39,310,311,312,313}, coverage
[testenv]
description = run unit tests
changedir = {envtmpdir}
commands =
python -m unittest discover -s {package_root}/tests
[testenv:coverage]
description = run unit tests for coverage
deps = coverage
commands =
coverage run --source inmoose -m unittest discover -s {package_root}/tests
coverage report --fail-under=80
coverage lcov -o {package_root}/coverage.lcov
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: coverage
3.13: py313