Extend deadline for hypothesis test when in CI
This commit is contained in:
parent
aed88472ac
commit
9cbc2ddedf
@ -34,7 +34,7 @@ test:
|
||||
- poetry run black --check jubeatools
|
||||
- poetry run flake8 jubeatools
|
||||
- poetry run mypy jubeatools
|
||||
- poetry run pytest jubeatools
|
||||
- poetry run pytest jubeatools --hypothesis-profile ci
|
||||
|
||||
build and publish:
|
||||
stage: deploy
|
||||
|
4
jubeatools/conftest.py
Normal file
4
jubeatools/conftest.py
Normal file
@ -0,0 +1,4 @@
|
||||
from datetime import timedelta
|
||||
from hypothesis import settings
|
||||
|
||||
settings.register_profile("ci", deadline=timedelta(seconds=1))
|
Loading…
Reference in New Issue
Block a user