Skip to content

Commit

Permalink
Complete tests configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Mar 5, 2020
1 parent 69a376b commit c287ddc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import os

from hypothesis import (HealthCheck,
settings)

on_azure_pipelines = os.getenv('TF_BUILD', False)
on_travis_ci = os.getenv('CI', False)
settings.register_profile('default',
max_examples=(settings.default.max_examples // 4
if on_azure_pipelines or on_travis_ci
else settings.default.max_examples),
deadline=None,
suppress_health_check=[HealthCheck.filter_too_much,
HealthCheck.too_slow])

0 comments on commit c287ddc

Please sign in to comment.