-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
26 lines (25 loc) · 887 Bytes
/
tox.ini
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
[tox]
envlist =
python3.9
python3.10
python3.11
python3.12
isolated_build = True
skip_missing_interpreters = True
[testenv]
groups =
test
cli
index-generation
deps =
coverage
pre-commit
commands =
coverage run --data-file=.coverage.doc.tests --source=overturemaestro -m pytest -v -s --durations=20 --doctest-modules --doctest-continue-on-failure overturemaestro
coverage run --data-file=.coverage.base.tests --source=overturemaestro -m pytest -v -s --durations=20 tests/base
coverage run --data-file=.coverage.optional.tests --source=overturemaestro -m pytest -v -s --durations=20 tests/optional_imports
coverage run --data-file=.coverage.benchmark.tests --source=overturemaestro -m pytest -v -s --durations=20 tests/benchmark
coverage combine
coverage xml -o coverage.{envname}.xml
coverage report -m
skip_install = true