From d3befb2e04dfd12752fc98599800e911ef6a15d4 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Tue, 29 Aug 2023 17:04:42 -0700 Subject: [PATCH] CI: prepare for pytest by adding marker and avoiding duplicated tests (#29682) prepare for pytest --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d860dbb6bf..6555c7d5c3 100644 --- a/pyproject.toml +++ b/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"