Commit Graph

213 Commits

Author SHA1 Message Date
Adeeb Shihadeh
861c52e015 bump up cars timeout for the GHA runners 2024-05-17 20:53:52 -07:00
Adeeb Shihadeh
57c8510a42 CI: move regen into replay job (#32460) 2024-05-17 19:48:14 -07:00
Adeeb Shihadeh
e1a697fee5 remove old valgrind replay test 2024-05-17 19:43:47 -07:00
Adeeb Shihadeh
27da6bd752 CI: move model tests (#32459) 2024-05-17 19:31:55 -07:00
Adeeb Shihadeh
4388a2aa68 CI: use less parallel jobs for cars (#32458)
* CI: use less parallel jobs for cars

* 2
2024-05-17 19:20:18 -07:00
cl0cks4fe
dd9d5d4528 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>
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
a44add160e 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
2024-04-28 16:24:04 -07:00
Andrew Goodbody
ba2538c29c 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
2024-04-19 12:33:45 -07:00
Justin Newberry
746901e6b0 bump codecov (#32241) 2024-04-17 15:47:19 -07:00
Justin Newberry
0b92f4e9ee more car info -> car docs (#31885) 2024-03-17 16:53:57 -07:00
Justin Newberry
c1d0d35f8b gha: remove trailing spaces (#31872)
remove trailing spaces
2024-03-14 16:20:02 -07:00
Justin Newberry
adb7e2e229 CI: Retry multiarch build (#31570)
hardware
2024-02-23 20:54:48 -08:00
Justin Newberry
b4a11a7229 CI: reduce car tests timeout (#31433)
* reduce cars timeout

* 10
2024-02-13 11:57:08 -08:00
Justin Newberry
ceecf39c54 Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
2024-02-06 17:11:00 -08:00
Justin Newberry
28a15dbfe9 CI: enable logical cpus for all selfdrive tests (#31281)
logical
2024-02-02 15:45:59 -08:00
Justin Newberry
6262de4419 CI: use auto-cache for test_models (#31171)
use auto cache
2024-01-25 20:37:25 -08:00
Justin Newberry
faf99ba711 CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

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

* report + common

* in ci

* fix

* dont enable in ci yet
2024-01-24 13:54:31 -08:00
Justin Newberry
dc9ffd2f10 car tests on namespace (#31080)
cars
2024-01-19 14:53:52 -08:00
Adeeb Shihadeh
8a26b4383f bump that up 2024-01-19 13:19:41 -08:00
Hoang Bui
f0f7e86dcc 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>
2024-01-19 13:06:02 -08:00
Justin Newberry
35ed8a0886 CI: use namespace.io (#31064)
* namespace

* mkdir

* fix

* restore only

* restore

* v3

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

* mkdir

* fix

* restore only

* restore

* v3
2024-01-18 17:17:53 -08:00
Justin Newberry
d98b33adc8 replace pytest-timeouts with pytest-timeout (#31053)
* one timeout

* timeout

* higher timeout for now

* bump
2024-01-18 16:19:49 -08:00
Adeeb Shihadeh
e17e66180c CI: speedup unit test job (#30995)
* start

* mv to buildjet

* fix
2024-01-13 21:16:35 -08:00
Adeeb Shihadeh
3e601b5e8f camerad: move ae test to pytest/catch2 (#30994)
* mv ae gray test

* cleanup
2024-01-13 15:40:25 -08:00
Justin Newberry
af1b7e5c59 Revert "buildjet: pin location to de" (#30956)
Revert "buildjet: pin location to de (#30955)"

This reverts commit 576cba217d.
2024-01-10 15:11:20 -08:00
Justin Newberry
576cba217d buildjet: pin location to de (#30955)
* pin location

* stringify

* Fix

* fromjson

* flip the parens

* and those
2024-01-10 13:48:35 -08:00
Justin Newberry
9b25bfc618 CI: set CI=1 in docker image (#30889)
* ci=1

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

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

* enable long diff

* readd job name

* make it executable

* cleanup imports

* retrigger
2023-11-13 13:50:23 -08:00
Justin Newberry
2ad82cbfb0 Pytest: default settings on PC improvements (#30441)
* always multithreaded

* multithreaded

* pkill correct process

* escape more

* load for interfaces
2023-11-13 10:45:24 -08:00
Justin Newberry
2629417320 CI: codecov for multiprocessing (#30432) 2023-11-10 10:02:05 -08:00
Justin Newberry
863fdec50e Revert "CI: codecov for multiprocessing" (#30431)
Revert "CI: codecov for multiprocessing (#30428)"

This reverts commit 1e91cf92a1.
2023-11-09 15:52:28 -08:00
Justin Newberry
1e91cf92a1 CI: codecov for multiprocessing (#30428)
* concurrencty codecov

* its a list

* retrigger ci

* increase delay
2023-11-09 15:19:10 -08:00
Justin Newberry
5c2796a104 CI: label codecov uploads (#30426)
* label

* matrix
2023-11-09 11:12:19 -08:00
Justin Newberry
53b6ab9e18 CI: pytest for the rest for GHA (#30418)
* pytest car

* all pytest

* need more time

* keep release test short

* keep it short
2023-11-08 16:04:02 -08:00
Justin Newberry
844cbd95e7 build_release: increase timeout again (#30417)
* inc timeout

* 3 minute timeout
2023-11-08 14:32:16 -08:00
Justin Newberry
fa9d3ec1f5 build_release: increase timeout (#30416)
inc timeout
2023-11-08 14:15:15 -08:00
Justin Newberry
d02dd50749 Pytest: consistent codecov (#30408)
* seed only

* random seed

* ignore version.py

* increase max examples

* increase default max examples
2023-11-08 13:43:32 -08:00
Shane Smiskol
2acb22fada selfdrive_tests: allow manual run (#30307)
* allow manual run

* Apply suggestions from code review
2023-10-25 15:17:17 -07:00
Adeeb Shihadeh
0336219b6a CI: update to checkout@v4 (#30248) 2023-10-14 23:25:41 -07:00
Kacper Rączy
3aa74c28fc CI: add regen job (#30157)
* Ability to whitelist/blacklist cars in regen_all

* Add CI job for regen, running on 2 segments

* Run regen_all, not regen

* Use coverage run

* Add test_regen

* Use test_regen in ci test

* Add test case names

* ONNXCPU = 1

* Add mazda segment

* Use RUN_CL

* build cl image before running

* unset PYTHONWARNINGS

* Create regen cache

* Replace daemons with processes

* Skip ford

* Skip mazda

* Add comment about commented segments

* Update selfdrive/test/process_replay/test_regen.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Remove unset pythonwarnings

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-10-05 13:59:00 -07:00
Adeeb Shihadeh
4f72e87ab7 CI: disable native mac build (#30082) 2023-09-27 21:15:53 -07:00