-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (28 loc) · 653 Bytes
/
tox.ini
File metadata and controls
32 lines (28 loc) · 653 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
[tox]
envlist =
py312
py311
py310
py39
py38
py37
[testenv]
deps=-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
python -m pytest {tty:--color=yes} \
--cov=otel_extensions_pytest --cov-branch \
--cov-report=xml --cov-report=term \
--junitxml {toxworkdir}{/}junit-{envname}.xml \
tests --cov-fail-under=80
mypy otel_extensions_pytest
[testenv:linting]
basepython = python3
skip_install = true
deps =
pre-commit==2.16.0
commands =
pre-commit run
[testenv:type]
deps = -r{toxinidir}/test-requirements.txt
commands = mypy otel_extensions_pytest