mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Testing: Tolerate slowness in CI
This commit is contained in:
parent
4e28c07b02
commit
88df14a724
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
hypothesis>=3
|
hypothesis>=3.1
|
||||||
pytest
|
pytest
|
||||||
pytest-localserver
|
pytest-localserver
|
||||||
pytest-subtesthack
|
pytest-subtesthack
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import os
|
||||||
|
|
||||||
import click_log
|
import click_log
|
||||||
|
|
||||||
from hypothesis import Verbosity, settings
|
from hypothesis import HealthCheck, Verbosity, settings
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
@ -34,6 +34,7 @@ else:
|
||||||
settings.register_profile("ci", settings(
|
settings.register_profile("ci", settings(
|
||||||
max_examples=1000,
|
max_examples=1000,
|
||||||
verbosity=Verbosity.verbose,
|
verbosity=Verbosity.verbose,
|
||||||
|
suppress_health_check=[HealthCheck.too_slow]
|
||||||
))
|
))
|
||||||
settings.register_profile("deterministic", settings(
|
settings.register_profile("deterministic", settings(
|
||||||
derandomize=True,
|
derandomize=True,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue