Skip to content

Commit 4caac9e

Browse files
committed
MAINT: add pytest-timeout dependency — this should work around stuck CI jobs
1 parent 2713972 commit 4caac9e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup.cfg

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ text_file_format = rst
4444
xfail_strict = true
4545
remote_data_strict = true
4646
addopts = --color=yes --doctest-rst --doctest-continue-on-failure
47+
# Ideally this should be lower and individual, problematic tests and doc pages should have one-off higher numbers.
48+
timeout = 300
49+
4750
filterwarnings =
4851
error
4952
# Remove along with astropy-helpers, once we switch to a new versioning scheme
@@ -145,12 +148,12 @@ install_requires=
145148
html5lib>=0.999
146149
keyring>=15.0
147150
pyvo>=1.5
148-
tests_require =
149-
pytest-doctestplus>=0.13
150-
pytest-astropy
151151

152152
[options.extras_require]
153153
test=
154+
pytest>=7.4
155+
pytest-doctestplus>=1.4
156+
pytest-timeout
154157
pytest-astropy
155158
matplotlib
156159
pytest-dependency

0 commit comments

Comments
 (0)