Skip to content

Commit

Permalink
Merge pull request #52 from consideRatio/pr/misc-pytest-stuff
Browse files Browse the repository at this point in the history
Put pytest config in pyproject.toml
  • Loading branch information
consideRatio authored Mar 19, 2024
2 parents a5db8ec + dbfe863 commit 2ea7237
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- run: pip install ".[test]"

- run: pytest --cov=simpervisor
- run: pytest

# GitHub action reference: https://github.com/codecov/codecov-action
- uses: codecov/codecov-action@v4
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ test = [
# ref: https://docs.pytest.org/en/stable/
#
[tool.pytest.ini_options]
addopts = "--verbose --color=yes --durations=10"
addopts = "--verbose --color=yes --durations=10 --cov=simpervisor"
asyncio_mode = "auto"
testpaths = ["tests"]


# autoflake is used for autoformatting Python code
Expand Down

0 comments on commit 2ea7237

Please sign in to comment.