Skip to content

Commit

Permalink
chore: add a conftest.py file with configuration for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Nov 29, 2023
1 parent 67f075d commit f8c1003
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"
- run: pip install ".[test]"
- run: pytest --doctest-modules --import-mode importlib --hypothesis-show-statistics
- run: pytest --doctest-modules --import-mode importlib --hypothesis-show-statistics --hypothesis-profile ci
4 changes: 4 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from hypothesis import Verbosity, settings

settings.register_profile("ci", max_examples=1000)
settings.register_profile("debug", max_examples=10, verbosity=Verbosity.verbose)

0 comments on commit f8c1003

Please sign in to comment.