Skip to content

Commit 1038475

Browse files
committed
Restore ci hypothesis profile use to fix CI
1 parent fd45eb3 commit 1038475

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
settings.register_profile("fast", max_examples=1)
2020
settings.register_profile("debug", max_examples=1, verbosity=Verbosity.verbose)
21-
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE", "default"))
21+
settings.load_profile(
22+
os.getenv("HYPOTHESIS_PROFILE", "ci" if "CI" in os.environ else "default")
23+
)
2224

2325

2426
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)