CI: prepare for pytest by adding marker and avoiding duplicated tests (#29682)

prepare for pytest
pull/29707/head
Justin Newberry 2 years ago committed by GitHub
parent 7a4eaeaf9f
commit d3befb2e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pyproject.toml

@ -1,8 +1,11 @@
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=laika_repo/ -Werror --strict-config --strict-markers"
addopts = "--ignore=openpilot/ --ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=laika_repo/ -Werror --strict-config --strict-markers"
python_files = "test_*.py"
#timeout = "30" # you get this long by default
markers = [
"parallel: mark tests as parallelizable (tests with no global state, so can be run in parallel)"
]
[tool.mypy]
python_version = "3.11"

Loading…
Cancel
Save