Commit Graph

225 Commits

Author SHA1 Message Date
Maxime Desroches
ee22350568 Remove aarch64 ci test (#32715)
* remove aarch64

* comment + remove test
old-commit-hash: 0bdab82423
2024-06-12 00:27:47 +00:00
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
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
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
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
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
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
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
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
Justin Newberry
4de27acf3d more car info -> car docs (#31885)
old-commit-hash: 0b92f4e9ee
2024-03-17 16:53:57 -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
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
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
3c67b8df09 CI: enable logical cpus for all selfdrive tests (#31281)
logical
old-commit-hash: 28a15dbfe9
2024-02-02 15:45:59 -08:00
Justin Newberry
26181374e6 CI: use auto-cache for test_models (#31171)
use auto cache
old-commit-hash: 6262de4419
2024-01-25 20:37:25 -08:00
Justin Newberry
d9a324dc92 CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

* map takes logner to render
old-commit-hash: faf99ba711
2024-01-25 16:49:38 -08:00
Justin Newberry
d3ead5e4ff test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
old-commit-hash: e2ec5be6ee
2024-01-24 13:54:31 -08:00
Justin Newberry
20526ce562 car tests on namespace (#31080)
cars
old-commit-hash: dc9ffd2f10
2024-01-19 14:53:52 -08:00
Adeeb Shihadeh
85b48a800e bump that up
old-commit-hash: 8a26b4383f
2024-01-19 13:19:41 -08:00
Hoang Bui
8aad664943 Enable cache for pre-commit (#31071)
* enable cache

* test cache

* commai cache

* remove id

* only save on master

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: f0f7e86dcc
2024-01-19 13:06:02 -08:00
Justin Newberry
11b807cd32 CI: use namespace.io (#31064)
* namespace

* mkdir

* fix

* restore only

* restore

* v3

* disable provenance
old-commit-hash: 35ed8a0886
2024-01-18 22:13:19 -08:00
Justin Newberry
d6922d3522 Revert "CI: use namespace.so" (#31060)
old-commit-hash: 23cbfe9eb3
2024-01-18 17:35:24 -08:00
Justin Newberry
d792c3c5bb CI: use namespace.so (#31056)
* namespace

* mkdir

* fix

* restore only

* restore

* v3
old-commit-hash: 9ee0a8a2b1
2024-01-18 17:17:53 -08:00
Justin Newberry
934225a448 replace pytest-timeouts with pytest-timeout (#31053)
* one timeout

* timeout

* higher timeout for now

* bump
old-commit-hash: d98b33adc8
2024-01-18 16:19:49 -08:00
Adeeb Shihadeh
96e9a7d3ce CI: speedup unit test job (#30995)
* start

* mv to buildjet

* fix
old-commit-hash: e17e66180c
2024-01-13 21:16:35 -08:00
Adeeb Shihadeh
8277f37c4b camerad: move ae test to pytest/catch2 (#30994)
* mv ae gray test

* cleanup
old-commit-hash: 3e601b5e8f
2024-01-13 15:40:25 -08:00
Justin Newberry
9e35f77f78 Revert "buildjet: pin location to de" (#30956)
Revert "buildjet: pin location to de (#30955)"

This reverts commit 5ce506c1ee95f7c6afe622430bc6d7eb3f167d5f.
old-commit-hash: af1b7e5c59
2024-01-10 15:11:20 -08:00
Justin Newberry
d2d2190973 buildjet: pin location to de (#30955)
* pin location

* stringify

* Fix

* fromjson

* flip the parens

* and those
old-commit-hash: 576cba217d
2024-01-10 13:48:35 -08:00
Justin Newberry
e1dd457277 CI: set CI=1 in docker image (#30889)
* ci=1

* wrong spot
old-commit-hash: 9b25bfc618
2024-01-02 13:48:16 -08:00
Justin Newberry
6c6f6ef45a CI: set CI=1 globally (#30888)
ci=1
old-commit-hash: 86bd337952
2024-01-02 13:17:19 -08:00
Adeeb Shihadeh
9ae1b6473c run test_fuzzy.py with pytest
old-commit-hash: b0b4ae9c15
2023-12-18 14:38:57 -08:00
Justin Newberry
0939b25bc4 CI: move test_maprenderer to GH actions (#30610)
maprenderer to ci
old-commit-hash: 5d668701cb
2023-12-14 16:59:28 -08:00
Justin Newberry
553a18c065 CI: add codecov token (#30716)
* add codecov token

* retrigger with token
old-commit-hash: a3c0e2bd25
2023-12-13 11:50:44 -08:00
Justin Newberry
059aa6ffd9 Revert "Process Replay: move to pytest (#30260)" (#30687)
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031a
2023-12-11 14:46:56 -08:00
Adeeb Shihadeh
d84af30348 bump model unit test timeout
old-commit-hash: afd5877be8
2023-11-30 21:48:11 -08:00
Justin Newberry
6af8e72604 Process Replay: move to pytest (#30260)
* process replay pytest

* enable long diff

* readd job name

* make it executable

* cleanup imports

* retrigger
old-commit-hash: 90c873ab1d
2023-11-13 13:50:23 -08:00
Justin Newberry
efaa3ea500 Pytest: default settings on PC improvements (#30441)
* always multithreaded

* multithreaded

* pkill correct process

* escape more

* load for interfaces
old-commit-hash: 2ad82cbfb0
2023-11-13 10:45:24 -08:00