Skip to content

Commit

Permalink
Revert "chore: remove conftest – breaks the importing."
Browse files Browse the repository at this point in the history
This reverts commit 0c5b4f5.
  • Loading branch information
hollandjg committed Nov 29, 2023
1 parent 7ae82f3 commit af02a3f
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 --hypothesis-max-examples 1000
- run: pytest --doctest-modules --import-mode importlib --hypothesis-show-statistics --hypothesis-profile ci
4 changes: 4 additions & 0 deletions tests/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 af02a3f

Please sign in to comment.