-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
31 lines (25 loc) · 875 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
[tox]
envlist = py311
[testenv]
description = Run basic usage tests
# Change directory so that we make sure we are using the package-installed version
changedir = {envtmpdir}
deps = -rrequirements.txt
commands =
pytest --nbsmoke-run {toxinidir} {posargs}
[pytest]
addopts = -ra -v -n 2 --junitxml=junit/test-results.xml --color=no --cov=atomica --cov-report=xml --cov-report=html
junit_family=xunit1
nbsmoke_cell_timeout = 600
console_output_style = count
testpaths = tests docs/examples docs/tutorial
python_files = test_tox_*.py
norecursedirs = atomica_apps .ipynb_checkpoints
# Enable headless matplotlib testing and suppress deprecation warnings
env =
MPLBACKEND = agg
# Ignore deprecation warnings as not relevant for testing purposes
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:.*openpyxl