Commit Graph

441 Commits

Author SHA1 Message Date
Adeeb Shihadeh
189679e6e9 CI: move build_release to a namespace runner (#32675)
old-commit-hash: 43a97c5907
2024-06-09 12:02:55 -07:00
Adeeb Shihadeh
8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf13
2024-06-08 09:18:28 -07:00
Hoang Bui
254d51ac8d CI/tools_test: remove redundant git lfs pull (#32642)
remove redundant
old-commit-hash: 4c549778c0
2024-06-06 12:59:57 -07:00
Adeeb Shihadeh
43dd214f52 Revert "pytest: discover openpilot/ (#32561)" (#32622)
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh
86b6103657 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
old-commit-hash: c59887c810
2024-06-03 15:48:56 -07:00
Mauricio Alvarez Leon
ddd78718a6 pytest: discover openpilot/ (#32561)
* pytest: discover everything in openpilot/

* ignore process replay

* remove --ignore=openpilot/

* ignore directories in root

* remove skip in selfdrive/test/process_replay

* use openpilot directory

* set openpilot directory for test_translations

* omit generated config.py files

* run ci

* cd into openpilot for test_translation

* &&

* remove rm main_test_en command

* remove echo

* increase shm-size to 2G

* remove rm

* test only cpp_files that are test_*.cc~

* add process_replay test skip

* use addopts in pyproject to ignore test_processes

* try --rootdir for pytest

* cleanups / add rootdir in PYTEST env

* add rm create_test_translations

* revert poetry.lock

* simplify

* no regen!

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00b10f3d9a
2024-06-02 14:53:32 -07:00
Mauricio Alvarez Leon
cfbfa14dc9 CI: add devcontainer-rebuild workflow (#32564)
* add devcontainer-rebuild workflow

* add shell

* add shell on ifs

* use scripts/retry.sh
old-commit-hash: a2931d1956
2024-05-28 14:45:17 -07:00
Adeeb Shihadeh
549bc535cd Revert no pyenv (#32547)
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526)"

This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.

* Revert "Removal of pyenv (#32512)"

This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e8
2024-05-26 21:21:50 -07:00
Adeeb Shihadeh
6dc8eecee7 Make release files a blacklist (#32540)
* blacklist

* little nicer

* whitelist

* cleanup

* igore body

* more skip
old-commit-hash: fe7d3429ab
2024-05-25 18:47:16 -07:00
Hoang Bui
6452b26a99 CI/tools: Remove redundant build step (#32539)
old-commit-hash: 2ff94ec374
2024-05-25 15:50:10 -07:00
Adeeb Shihadeh
cc4f53e6c6 manager: move to system/ (#32538)
* manager: move to system/

* one more
old-commit-hash: accdade4cf
2024-05-25 12:41:17 -07:00
Mauricio Alvarez Leon
f90655a1ff ubuntu_setup: fix No module apt_pkg error when setting up (#32526)
* no apt_pkg fix

* check arch

* fix if

* cleanup

* reorder

* increase shm size for selfdrive tests

* add comment explaining reinstall

* refine
old-commit-hash: f4322666c6
2024-05-24 21:38:23 -07:00
Adeeb Shihadeh
04a7ae120c rm disabled notebooks test
old-commit-hash: 423016d6e9
2024-05-22 17:16:08 -07:00
Adeeb Shihadeh
385ef598c8 CI: cleanup PR review jobs (#32503)
old-commit-hash: 527cd74b21
2024-05-21 15:25:50 -07:00
Adeeb Shihadeh
f6bafe95f6 Revert "CI: move car docs diff job (#32496)"
This reverts commit aa372959f53f92f01778fae4c6f01960d1f040b4.

old-commit-hash: 49d7edfe11
2024-05-20 23:33:16 -07:00
Adeeb Shihadeh
3a09d909e8 CI: move car docs diff job (#32496)
* CI: move car docs diff job

* no if
old-commit-hash: da42c4a561
2024-05-20 23:11:19 -07:00
Adeeb Shihadeh
947ca354f7 CI: merge build jobs (#32495)
old-commit-hash: 936e8d3d80
2024-05-20 23:01:42 -07:00
Hoang Bui
acd61af9fc CI/simulator: Fix metadrive test pyopencl.CompilerWarning (#32487)
* add pytest.mark.filterwarnings

* remove -W pyopencl.CompilerWarning

* add comment
old-commit-hash: f3f22a5698
2024-05-20 14:41:31 -07:00
Adeeb Shihadeh
bf22381107 CI: remove redundant pj job
old-commit-hash: 04d8a4ecad
2024-05-18 16:08:10 -07:00
Hoang Bui
6c438b8902 CI: fix metadrive test (#32457)
* fix test

* this?

* fix

* this?

* deprecation warning inside

* comment
old-commit-hash: 950aeae544
2024-05-18 14:04:22 -07:00
Adeeb Shihadeh
70f2c6610a bump up cars timeout for the GHA runners
old-commit-hash: 861c52e015
2024-05-17 20:53:52 -07:00
Adeeb Shihadeh
e932b0836f CI: move regen into replay job (#32460)
old-commit-hash: 57c8510a42
2024-05-17 19:48:14 -07:00
Adeeb Shihadeh
eaa6fe2510 remove old valgrind replay test
old-commit-hash: e1a697fee5
2024-05-17 19:43:47 -07:00
Adeeb Shihadeh
a2bb2dc9f4 CI: move model tests (#32459)
old-commit-hash: 27da6bd752
2024-05-17 19:31:55 -07:00
Adeeb Shihadeh
de22ac6ff5 CI: use less parallel jobs for cars (#32458)
* CI: use less parallel jobs for cars

* 2
old-commit-hash: 4388a2aa68
2024-05-17 19:20:18 -07:00
cl0cks4fe
639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
d71879a4af let's be more decisive
old-commit-hash: 7f9ad78ac8
2024-05-13 15:39:36 -07:00
Hoang Bui
29a1763d01 CI/Simulator: Add Metadrive test to CI (#32352)
* works consistently

* ci gha

* fix

* navd

* fix

* cleanup

* change button

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aca01365e6
2024-05-05 16:32:08 -07:00
Adeeb Shihadeh
3a6900f816 CI: set bot PR author
old-commit-hash: 82f7ab8f7d
2024-04-29 09:00:12 -07:00
Adeeb Shihadeh
cec27f9db5 prep for ubuntu 24.04 (#32307)
* update to ubuntu 24.04

* latest

* revert those

* fix that

* vla

* try that

* fix uid

* keep 20.04 support

* just prep for now
old-commit-hash: a44add160e
2024-04-28 16:24:04 -07:00
Andrew Goodbody
c81b116179 Update action that pulls in deprecated version of Node.js (#32273)
* Update action that pulls in deprecated version of Node.js

Missed an action that still pulls in a deprecated version of
Node.js, so correct that now.

* Fix another action that pulls in deprecated Node.js

Found another action that needs updating
old-commit-hash: fc318f454a
2024-04-22 08:43:26 -07:00
Andrew Goodbody
4d57211300 Update actions to replace deprecated versions (#32246)
actions/cache@v3 uses the deprecated Node.js 16 so update to
use v4 which uses Node.js 20. This also applies to save and
restore
old-commit-hash: ba2538c29c
2024-04-19 12:33:45 -07:00
Justin Newberry
b40ce1b085 bump codecov (#32241)
old-commit-hash: 746901e6b0
2024-04-17 15:47:19 -07:00
Shane Smiskol
4e32a90c5a juggle.py: migrate platform name (#32042)
* fix formatting!

* migrate plotjuggler platform for dbc

* test with can

* temp

* Revert "temp"

This reverts commit 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.

Revert "test with can"

This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.

* fix test
old-commit-hash: 903cc225eb
2024-03-28 16:40:31 -07:00
Shane Smiskol
584079325b lowercase stale (#32004)
old-commit-hash: 5fcb54f713
2024-03-25 16:11:28 -07:00
Adeeb Shihadeh
7a3cbde20c stale bot: ignore all car stuff for now
old-commit-hash: 86acfbb4f2
2024-03-25 09:21:23 -07:00
Justin Newberry
4de27acf3d more car info -> car docs (#31885)
old-commit-hash: 0b92f4e9ee
2024-03-17 16:53:57 -07:00
Justin Newberry
5a7de94a13 rename CarInfo to CarDocs (#31879)
car info to car docs
old-commit-hash: 655e5f7c3e
2024-03-15 11:45:44 -07:00
Justin Newberry
aedba00f13 gha: remove trailing spaces (#31872)
remove trailing spaces
old-commit-hash: c1d0d35f8b
2024-03-14 16:20:02 -07:00
Justin Newberry
b20ddc8f14 pr comments: only on external prs (#31635)
only on external prs
old-commit-hash: 851df7458f
2024-02-28 20:22:54 -08:00
Justin Newberry
28e9c2ef76 disable notebooks (#31631)
old-commit-hash: 7208e37f8c
2024-02-28 16:44:10 -08:00
Justin Newberry
44b165575d auto pr review (#31626)
* auto PR comments

* little more

* test

* update action

* cleanup

* ensure it only runs once

* comment that part out

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e9a10ca712
2024-02-28 12:05:43 -08:00
Adeeb Shihadeh
61d9254b3c Revert "auto PR comments (#30675)"
This reverts commit 3c8fdec8c3e499f7091295b7397c0837173b032e.

old-commit-hash: 47013fd0a4
2024-02-27 12:06:53 -08:00
Adeeb Shihadeh
ad395b0980 auto PR comments (#30675)
* auto PR comments

* little more

* test

* update action

* cleanup
old-commit-hash: 402ac424d9
2024-02-27 11:09:48 -08:00
Justin Newberry
5b173679c2 CI: Retry multiarch build (#31570)
hardware
old-commit-hash: adb7e2e229
2024-02-23 20:54:48 -08:00
Justin Newberry
626c13bd84 CI: reduce car tests timeout (#31433)
* reduce cars timeout

* 10
old-commit-hash: b4a11a7229
2024-02-13 11:57:08 -08:00
Nelson Chen
83bfa0a50d Only run repo-maintenance.yaml on 'commaai/openpilot' (#31401)
This otherwise fails and causes a periodic annoying email for users who have forked the repo.
old-commit-hash: 299dbb564d
2024-02-10 08:26:39 -08:00
Justin Newberry
4a172b23d2 bump notebooks timeout (#31377)
bump
old-commit-hash: e593ffc28c
2024-02-08 11:49:33 -08:00
Justin Newberry
c50146837e Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
old-commit-hash: ceecf39c54
2024-02-06 17:11:00 -08:00
Justin Newberry
2ccaebe490 CI: Move repo maintenance bots to 6am (#31316)
later
old-commit-hash: b94aba6281
2024-02-05 21:52:16 -08:00