From 870430e19fb686ee09f8bfad79e7d354e7fc435b Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 28 Feb 2026 08:11:25 -0800 Subject: [PATCH] Revert "Actions cleanup" (#37463) Revert "Actions cleanup (#37307)" This reverts commit f41d77b24fb897af23e25d00f709a2ae36352e4d. --- .github/workflows/tests.yaml | 8 +++++--- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 00fdceda0b..8add04c465 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,6 +19,8 @@ concurrency: env: CI: 1 + PYTHONPATH: ${{ github.workspace }} + PYTEST: pytest --continue-on-collection-errors --durations=0 -n logical jobs: build_release: @@ -111,8 +113,8 @@ jobs: run: | source selfdrive/test/setup_xvfb.sh # Pre-compile Python bytecode so each pytest worker doesn't need to - pytest --collect-only -m 'not slow' -qq - MAX_EXAMPLES=1 pytest -m 'not slow' + $PYTEST --collect-only -m 'not slow' -qq + MAX_EXAMPLES=1 $PYTEST -m 'not slow' process_replay: name: process replay @@ -168,7 +170,7 @@ jobs: timeout-minutes: 4 env: ONNXCPU: 1 - run: pytest selfdrive/test/process_replay/test_regen.py + run: $PYTEST selfdrive/test/process_replay/test_regen.py simulator_driving: name: simulator driving diff --git a/pyproject.toml b/pyproject.toml index 699c3af6f0..c3467342b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,7 +125,7 @@ allow-direct-references = true [tool.pytest.ini_options] minversion = "6.0" -addopts = "--ignore=openpilot/ --ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=teleoprtc_repo/ --ignore=msgq/ -Werror --strict-config --strict-markers --durations=20 --maxprocesses=8 -n auto --dist=loadgroup" +addopts = "--ignore=openpilot/ --ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=teleoprtc_repo/ --ignore=msgq/ -Werror --strict-config --strict-markers --durations=10 -n auto --dist=loadgroup" cpp_files = "test_*" cpp_harness = "selfdrive/test/cpp_harness.py" python_files = "test_*.py"