File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ pytest-cov>=2.6.1, <5.0.0
99pytest-xdist>=1.28.0, <4.0.0 # for distributed testing, currently unused (see setup.cfg)
1010pytest-lazy-fixture>=0.6.3, <0.7.0
1111pytest-custom_exit_code>=0.3.0 # for notebook tests
12- pytest-timeout>=1.4.2, <3.0.0 # for notebook tests
12+ pytest-timeout>=1.4.2, <3.0.0 # for notebook and regular tests
1313pytest-mock>=3.10.0, <4.0.0
1414jupytext>=1.12.0, <2.0.0 # for notebook tests
1515ipykernel>=5.1.0, <7.0.0 # for notebook tests
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ addopts =
77 -W ignore
88 --cov =alibi
99 --cov-append
10+ --durations =50
11+ --durations-min =1.0
12+ --timeout =600
1013# -n auto
1114# --forked
1215markers =
@@ -67,6 +70,7 @@ commands =
6770basepython = python
6871deps = pytest
6972 pytest-cov
73+ pytest-timeout
7074passenv = COMMAND
7175commands = {env:COMMAND:pytest --no-cov alibi/tests/test_dep_management.py --opt-dep =default}
7276
@@ -75,6 +79,7 @@ commands = {env:COMMAND:pytest --no-cov alibi/tests/test_dep_management.py --opt
7579basepython = python
7680deps = pytest
7781 pytest-cov
82+ pytest-timeout
7883extras =
7984 ray
8085passenv = COMMAND
@@ -85,6 +90,7 @@ commands = {env:COMMAND:pytest --no-cov alibi/tests/test_dep_management.py --opt
8590basepython = python
8691deps = pytest
8792 pytest-cov
93+ pytest-timeout
8894extras =
8995 tensorflow
9096commands =
@@ -95,6 +101,7 @@ commands =
95101basepython = python
96102deps = pytest
97103 pytest-cov
104+ pytest-timeout
98105extras =
99106 torch
100107commands =
@@ -105,6 +112,7 @@ commands =
105112basepython = python
106113deps = pytest
107114 pytest-cov
115+ pytest-timeout
108116extras =
109117 shap
110118commands =
@@ -115,6 +123,7 @@ commands =
115123basepython = python
116124deps = pytest
117125 pytest-cov
126+ pytest-timeout
118127extras =
119128 all
120129commands =
You can’t perform that action at this time.
0 commit comments