-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
43 lines (39 loc) · 919 Bytes
/
tox.ini
File metadata and controls
43 lines (39 loc) · 919 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
[tox]
envlist =
py38,py39,py310,py311,py312,py313,pypy,
py3-cover,coverage
[testenv]
# Most of these are defaults but if you specify any you can't fall back
# to defaults for others.
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
pypy: pypy
py3: python3.13
passenv = TOXENV,CI,GITHUB_*
commands =
pip install alog[testing]
pytest tests --junitxml=pytest-{envname}.xml {posargs:}
[testenv:py3-cover]
commands =
pip install alog[testing]
pytest tests --cov-report term-missing --cov=alog
setenv =
COVERAGE_FILE=.coverage.py3
[testenv:coverage]
basepython = python3.13
commands =
coverage erase
coverage combine
coverage xml
coverage report --show-missing --fail-under=90
codecov -e TOXENV
deps =
coverage
codecov>=1.4.0
setenv =
COVERAGE_FILE=.coverage