Skip to content

Commit

Permalink
chore: move main pytest options to pyproject.toml, move conftest back…
Browse files Browse the repository at this point in the history
… to root
  • Loading branch information
hollandjg committed Nov 29, 2023
1 parent af02a3f commit f617f22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"
- run: pip install ".[test]"
- run: pytest --doctest-modules --import-mode importlib --hypothesis-show-statistics --hypothesis-profile ci
- run: pytest --hypothesis-profile ci

File renamed without changes.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--doctest-modules --import-mode importlib"

0 comments on commit f617f22

Please sign in to comment.