Skip to content

Commit

Permalink
chore: Move Pytest config into pyproject.toml (meltano#6838)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillDaSilva committed Oct 4, 2022
1 parent d121d7f commit 7ae2521
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,24 @@ add_imports = [
"from __future__ import annotations",
]

[tool.pytest.ini_options]
addopts = "--cov=meltano --cov=tests --doctest-modules --order-scope=module -ra -n auto --dist=loadfile"
testpaths = "tests"
log_cli = 1
log_cli_level = "CRITICAL"
log_cli_format = "%(message)s"
log_file = "pytest.log"
log_file_level = "DEBUG"
log_file_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_file_date_format="%Y-%m-%d %H:%M:%S"
asyncio_mode = "auto"
markers = [
"backend(type): backend specific test",
"meta: meta test",
"concurrent: test requires true concurrency",
"slow: slow test",
]

[tool.coverage.run]
concurrency = [
"multiprocessing",
Expand Down
21 changes: 0 additions & 21 deletions pytest.ini

This file was deleted.

0 comments on commit 7ae2521

Please sign in to comment.