forked from OSOceanAcoustics/echopop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (33 loc) · 884 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
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist = py39, py310, py311, py312, lint, coverage
skip_missing_interpreters = true
recreate = false
parallel = auto
[testenv]
deps =
pytest
pytest-cov
commands = pytest --cov=echopop --cov-report=term --cov-report=html
install_command = pip install --cache-dir={env:TOX_PIP_CACHE_DIR:.tox/.cache} {opts} {packages}
[testenv:py311]
venv = fresh_py311
allowlist_externals =
pytest
pytest-cov
deps =
python-dateutil
commands = pytest --cov=echopop --cov-report=term --cov-report=html
install_command = pip install --cache-dir={env:TOX_PIP_CACHE_DIR:.tox/.cache} {opts} {packages}
[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files
; [testenv:coverage]
; description = Run tests with coverage
; skip_install = true
; deps =
; coverage
; pytest
; commands =
; coverage run -m pytest
; coverage report
; coverage html