Skip to content

Commit

Permalink
openpilot isn't required for a car port PR (commaai#33383)
Browse files Browse the repository at this point in the history
* disable car docs diff

* mv routes.py

* bump opendbc
old-commit-hash: 48bceb2
  • Loading branch information
adeebshihadeh authored Aug 27, 2024
1 parent 696d4c8 commit 55bae8f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 300 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/selfdrive_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ jobs:
car_docs_diff:
name: PR comments
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
#if: github.event_name == 'pull_request'
if: false # TODO: run this in opendbc?
steps:
- uses: actions/checkout@v4
with:
Expand Down
294 changes: 0 additions & 294 deletions selfdrive/car/tests/routes.py

This file was deleted.

2 changes: 1 addition & 1 deletion selfdrive/car/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from opendbc.car.car_helpers import FRAME_FINGERPRINT, interfaces
from opendbc.car.honda.values import CAR as HONDA, HondaFlags
from opendbc.car.values import Platform
from openpilot.selfdrive.car.tests.routes import non_tested_cars, routes, CarTestRoute
from opendbc.car.tests.routes import non_tested_cars, routes, CarTestRoute
from openpilot.selfdrive.car.card import Car, convert_to_capnp
from openpilot.selfdrive.pandad import can_capnp_to_list
from openpilot.selfdrive.test.helpers import read_segment_list
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/debug/check_can_parser_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from tqdm import tqdm

from cereal import car
from openpilot.selfdrive.car.tests.routes import CarTestRoute
from opendbc.car.tests.routes import CarTestRoute
from openpilot.selfdrive.car.tests.test_models import TestCarModelBase
from openpilot.selfdrive.pandad import can_capnp_to_list
from openpilot.tools.plotjuggler.juggle import DEMO_ROUTE
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/test/update_ci_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from tqdm import tqdm

from openpilot.selfdrive.car.tests.routes import routes as test_car_models_routes
from opendbc.car.tests.routes import routes as test_car_models_routes
from openpilot.selfdrive.test.process_replay.test_processes import source_segments as replay_segments
from openpilot.tools.lib.azure_container import AzureContainer
from openpilot.tools.lib.openpilotcontainers import DataCIContainer, DataProdContainer, OpenpilotCIContainer
Expand Down
2 changes: 1 addition & 1 deletion tools/car_porting/test_car_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
import unittest # noqa: TID251

from openpilot.selfdrive.car.tests.routes import CarTestRoute
from opendbc.car.tests.routes import CarTestRoute
from openpilot.selfdrive.car.tests.test_models import TestCarModel
from openpilot.tools.lib.route import SegmentName

Expand Down

0 comments on commit 55bae8f

Please sign in to comment.