Skip to content

Commit

Permalink
build: configure pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 10, 2023
1 parent 5653436 commit 6c7f351
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,25 @@ omit = [
]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-rA",
"--showlocals",
"--strict-markers",
"--strict-config",
"--cov", "--cov-report", "term-missing",
]
xfail_strict = true
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
]
log_cli_level = "INFO"
testpaths = [
"tests",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"earthdata: marks tests as requiring earthdata login info (deselect with '-m \"not earthdata\"')",
Expand Down

0 comments on commit 6c7f351

Please sign in to comment.