Commit Graph

237 Commits

Author SHA1 Message Date
Adeeb Shihadeh
76fd5b00f1 CI: increase shm size to 2G 2024-07-30 14:29:48 -07:00
Adeeb Shihadeh
c8622c9553 mac's getting there 2024-07-25 14:27:29 -07:00
Maxime Desroches
d49c5193c3 ci: fix ui preview (#33002)
* use pull_request_target

* env for name
2024-07-24 10:31:27 -07:00
Maxime Desroches
dcdac84f0c ci: bring back aarch64 (#33017)
* casadi wheel

* ci

* test 312

* test with new aarch64 build

* use release wheels

* assert

* bool

* try this

* maybe

* work

* use final wheel
2024-07-22 11:45:39 -07:00
signed-long
c759fe9002 CI: fix ui report directory (#32991)
fix report artifact name
2024-07-15 08:01:51 -07:00
Hoang Bui
15d3397ec6 CI: Compile openpilot on macOS (#32909)
* working

* cache

* bring back
2024-07-08 23:42:26 +00:00
signed-long
635b15a573 Post UI screenshots in PR comments (#32887)
* add PR comment with screenshots on ui changes

* fix pr comment if statements

* use default shallow checkout

* use commaai's ci-artifacts

* use my ci-artifacts

* use tj-actions/changed-files

* clean up

* use comma repos

* make ci-artifacts branch openpilot/pr-#

* remove redundent path
2024-07-06 02:47:59 +00:00
Mauricio Alvarez Leon
0fecfd6c45 CI: test the tests (#32869) 2024-07-03 15:27:29 -07:00
Maxime Desroches
12d5afba73 switch to uv (#32853)
* switch to uv

* pin back numpy

* remove lock

* try without cache

* test with no cache

* no cache for all

* debug

* remove debug

* remove pygame dep

* Update README.md

* remove lower bound

* update repo maintenance job

* upgradable

* repo maintenance

* copy poetry api

* build system

* unpin pygame

* readd cache

* readd cache

* basic command

* lower delay

* macos

* fix authors

* macos fix

* use uv

* preview

* other way

* new metadrive

* uv sync

* cp lock in docker

* fix docker

* use hatchling

* fix devcontainer

* fix container

* path

* uv run

* cleanup

* pre-commit

* format

* release_file
2024-06-28 00:04:05 +00:00
pantew869
0c9f1d8118 Bring back macOS CI (#32819)
* Attempt to enable macos CI

* add SKIP_PROMPT

* test

* add python warnings env variable

* pull from lfs

* use v4 checkout

* Update selfdrive_tests.yaml

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-06-26 17:47:25 +00:00
Adeeb Shihadeh
bccccde568 remove mapbox references (#32811) 2024-06-22 18:01:47 -07:00
Maxime Desroches
a132a23574 ci: push docker image to openpilot-base (#32801)
* only push to openpilot-base

* comment instead
2024-06-20 22:52:19 +00:00
Maxime Desroches
0bdab82423 Remove aarch64 ci test (#32715)
* remove aarch64

* comment + remove test
2024-06-12 00:27:47 +00:00
Adeeb Shihadeh
43a97c5907 CI: move build_release to a namespace runner (#32675) 2024-06-09 12:02:55 -07:00
Adeeb Shihadeh
149238845c Revert "pytest: discover openpilot/ (#32561)" (#32622)
This reverts commit 00b10f3d9a.
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh
c59887c810 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
2024-06-03 15:48:56 -07:00
Mauricio Alvarez Leon
00b10f3d9a 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>
2024-06-02 14:53:32 -07:00
Adeeb Shihadeh
1eb938b8e8 Revert no pyenv (#32547)
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526)"

This reverts commit f4322666c6.

* Revert "Removal of pyenv (#32512)"

This reverts commit f5752121f8.
2024-05-26 21:21:50 -07:00
Adeeb Shihadeh
fe7d3429ab Make release files a blacklist (#32540)
* blacklist

* little nicer

* whitelist

* cleanup

* igore body

* more skip
2024-05-25 18:47:16 -07:00
Adeeb Shihadeh
accdade4cf manager: move to system/ (#32538)
* manager: move to system/

* one more
2024-05-25 12:41:17 -07:00
Mauricio Alvarez Leon
f4322666c6 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
2024-05-24 21:38:23 -07:00
Adeeb Shihadeh
49d7edfe11 Revert "CI: move car docs diff job (#32496)"
This reverts commit da42c4a561.
2024-05-20 23:33:16 -07:00
Adeeb Shihadeh
da42c4a561 CI: move car docs diff job (#32496)
* CI: move car docs diff job

* no if
2024-05-20 23:11:19 -07:00
Adeeb Shihadeh
936e8d3d80 CI: merge build jobs (#32495) 2024-05-20 23:01:42 -07:00
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