Shane Smiskol
d6644c457a
test manager again in CI ( #33523 )
...
* test manager again
* fix
* whitelist joystickd
2024-09-09 12:04:04 -07:00
Maxime Desroches
de0ac29960
ci: ui preview with diff ( #33498 )
...
* diff
* not for now
2024-09-06 20:55:43 -07:00
Adeeb Shihadeh
55bae8feef
openpilot isn't required for a car port PR ( #33383 )
...
* disable car docs diff
* mv routes.py
* bump opendbc
old-commit-hash: 48bceb2bbfcb8c096c6bf170114f2da0cd00b3bb
2024-08-26 17:12:01 -07:00
Maxime Desroches
8c8a4b4961
replace python with python3 ( #33303 )
...
3
old-commit-hash: 406939b9c09c9f29526c18fe2f106c2059decf1e
2024-08-14 15:14:31 -07:00
Maxime Desroches
786820953b
lint.sh: check shebang format for bash + python3 ( #33286 )
...
lint shebang
old-commit-hash: 63a38dcd4d463bdee788baa10c15e25cdf726ef4
2024-08-13 21:47:20 -07:00
Maxime Desroches
49ab9876fa
static_analysis: use 24.04 for everyone ( #33227 )
...
* noble
* test it
* Revert "test it"
This reverts commit 393868bf5fd14a0afaa6d2b05f632c76f9b52213.
old-commit-hash: eb50f5cae82f9501bb15cfcc1ccb81656de20991
2024-08-07 20:22:22 -07:00
Maxime Desroches
5b82b7c65e
op.sh: lint ( #33217 )
...
* redo
* better
* fix this
* clean everything
* all files
* test
* debug
* get info
* revert
* only good files
* allow skip
* also this
* help section
old-commit-hash: f8f6c399158651f72fa78b0a2dc518f5bd5fbc23
2024-08-07 17:23:33 -07:00
Maxime Desroches
dbccf5c922
Revert "pre-commit: bring back some checks ( #33196 )" ( #33216 )
...
This reverts commit 4b356147185aa1d772947e4ec7b54a3e6e523f9d.
old-commit-hash: 3af774725f568ab2289fed92b820e89929950136
2024-08-06 21:48:56 -07:00
Maxime Desroches
5baf136b11
pre-commit: bring back some checks ( #33196 )
...
* add this
* add this
* nice ...
* 120
* remove
* no remote
* 0
* this
* no submodules
* like this
* try this
* validate
* like this
* split
* pass files
* no par
* check exist
* no build
* fix
* 24.04
* default
* test failure
* continue
* actually fail
* clean
* import
* fix
* line
* mypy
* clean
* simpler
* final
* better
* final clean
* not true
old-commit-hash: 30467b44cd82973576c8073136dede6aa2fa60f0
2024-08-06 21:39:18 -07:00
Adeeb Shihadeh
1feb6d671a
remove pre-commit (explorations) ( #33172 )
...
* remove pre-commit (explorations)
* lint.sh
* remove rest
* add to release files
* no source
* 1min is all you need
old-commit-hash: 13511e383c1679d17843e8cbf1bcb0a926f74c35
2024-08-01 22:16:13 -07:00
Maxime Desroches
41e549f8c8
ci: create ui report only on PR ( #33168 )
...
only on pr
old-commit-hash: 4b11c9e914707df9def598616995be2a5d355a6a
2024-08-01 16:44:10 -07:00
Adeeb Shihadeh
e37e93d57b
CI: increase shm size to 2G
...
old-commit-hash: 76fd5b00f1f169013334e06031e6b063c16cf5a5
2024-07-30 14:29:48 -07:00
Adeeb Shihadeh
fbdb5f3495
mac's getting there
...
old-commit-hash: c8622c9553d02486ddea43810e428bce6414ed5d
2024-07-25 14:27:29 -07:00
Maxime Desroches
2c010fe5a8
ci: fix ui preview ( #33002 )
...
* use pull_request_target
* env for name
old-commit-hash: d49c5193c33a41447d1d5748a069972893b7c6ec
2024-07-24 10:31:27 -07:00
Maxime Desroches
83d6af5162
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
old-commit-hash: dcdac84f0c7944433f262af903a39e6b5d3a026a
2024-07-22 11:45:39 -07:00
signed-long
a11f57cc7d
CI: fix ui report directory ( #32991 )
...
fix report artifact name
old-commit-hash: c759fe900276a6e622b51302fb9897e590edf3fd
2024-07-15 08:01:51 -07:00
Hoang Bui
856e536aa8
CI: Compile openpilot on macOS ( #32909 )
...
* working
* cache
* bring back
old-commit-hash: 15d3397ec6d32bb4e3319ff615526b175b267949
2024-07-08 23:42:26 +00:00
signed-long
0a22c17336
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
old-commit-hash: 635b15a5730d51c538f94191ed927f8976ee8a40
2024-07-06 02:47:59 +00:00
Mauricio Alvarez Leon
42cee115ad
CI: test the tests ( #32869 )
...
old-commit-hash: 0fecfd6c4578d17070db91bfa4920888258b987b
2024-07-03 15:27:29 -07:00
Maxime Desroches
a1a0e9e8a0
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
old-commit-hash: 12d5afba731b193b6992304c9e31b87603602ae6
2024-06-28 00:04:05 +00:00
pantew869
609c04b7e1
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 >
old-commit-hash: 0c9f1d8118081d90d9f867448ccf1c2fcaa794eb
2024-06-26 17:47:25 +00:00
Adeeb Shihadeh
6745358478
remove mapbox references ( #32811 )
...
old-commit-hash: bccccde568c05a7a641110c90d4ed95047cdea4e
2024-06-22 18:01:47 -07:00
Maxime Desroches
e9b6d542e9
ci: push docker image to openpilot-base ( #32801 )
...
* only push to openpilot-base
* comment instead
old-commit-hash: a132a235745b2b6ab1e5298b35ac04625cc44502
2024-06-20 22:52:19 +00:00
Maxime Desroches
ee22350568
Remove aarch64 ci test ( #32715 )
...
* remove aarch64
* comment + remove test
old-commit-hash: 0bdab824231a9ba3069777791e7dff76cfce838e
2024-06-12 00:27:47 +00:00
Adeeb Shihadeh
189679e6e9
CI: move build_release to a namespace runner ( #32675 )
...
old-commit-hash: 43a97c590723f61cf049cd95f2edd9aea8f2c346
2024-06-09 12:02:55 -07:00
Adeeb Shihadeh
43dd214f52
Revert "pytest: discover openpilot/ ( #32561 )" ( #32622 )
...
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c1ed98dc5b86446c5c6d49e53b5e340
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: c59887c8109dd8d33ea2e7169995184fbe38cc3a
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: 00b10f3d9ad03a6695446aab7b3a34d86229549a
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: 1eb938b8e81a3321adf1064e8ef348b8c7073d4c
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: fe7d3429abd85c120f0205093149eb9eabc81cb1
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: accdade4cfe73cdca41f5afa73cf4ad085802930
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: f4322666c6adc4dd2da569f483f6e108f18fe32a
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: 49d7edfe11add9abc09b46b271ea8b646797c080
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: da42c4a561343749a4970d7908ed7a3b2ed0402e
2024-05-20 23:11:19 -07:00
Adeeb Shihadeh
947ca354f7
CI: merge build jobs ( #32495 )
...
old-commit-hash: 936e8d3d801e3ef52660eb0940293197598514bf
2024-05-20 23:01:42 -07:00
Adeeb Shihadeh
70f2c6610a
bump up cars timeout for the GHA runners
...
old-commit-hash: 861c52e01579f4ce86a2f19f2014afa2af1ae501
2024-05-17 20:53:52 -07:00
Adeeb Shihadeh
e932b0836f
CI: move regen into replay job ( #32460 )
...
old-commit-hash: 57c8510a42b086bd2479f90f8d7a26b010454c89
2024-05-17 19:48:14 -07:00
Adeeb Shihadeh
eaa6fe2510
remove old valgrind replay test
...
old-commit-hash: e1a697fee521eedad2210d8e01d668e2bb020ace
2024-05-17 19:43:47 -07:00
Adeeb Shihadeh
a2bb2dc9f4
CI: move model tests ( #32459 )
...
old-commit-hash: 27da6bd752817a2af5df86cf1366c083ff732ffe
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: 4388a2aa68a59cdcf7c7577a4ee38e71aac611bd
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: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
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: a44add160e206aa87a2996372860846cc54ca29c
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: ba2538c29cba02856e900ebe8ebc1cefb57bdadc
2024-04-19 12:33:45 -07:00
Justin Newberry
b40ce1b085
bump codecov ( #32241 )
...
old-commit-hash: 746901e6b02fe24595834a8bc5672d9aa59359b8
2024-04-17 15:47:19 -07:00
Justin Newberry
4de27acf3d
more car info -> car docs ( #31885 )
...
old-commit-hash: 0b92f4e9ee59b9de7ef0895d6d35e06027d3891c
2024-03-17 16:53:57 -07:00
Justin Newberry
aedba00f13
gha: remove trailing spaces ( #31872 )
...
remove trailing spaces
old-commit-hash: c1d0d35f8bc043df098c483154c36bb8e955b02d
2024-03-14 16:20:02 -07:00
Justin Newberry
5b173679c2
CI: Retry multiarch build ( #31570 )
...
hardware
old-commit-hash: adb7e2e2297ecfc00e333155d4c8d0666c2c9205
2024-02-23 20:54:48 -08:00
Justin Newberry
626c13bd84
CI: reduce car tests timeout ( #31433 )
...
* reduce cars timeout
* 10
old-commit-hash: b4a11a722955f5ca6dd787cfb3d34aeddc3d5255
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: ceecf39c54e95e1bf973ea221fb3c5e7f215aecb
2024-02-06 17:11:00 -08:00
Justin Newberry
3c67b8df09
CI: enable logical cpus for all selfdrive tests ( #31281 )
...
logical
old-commit-hash: 28a15dbfe916c40d30a4901484e2d75fcb8af4cc
2024-02-02 15:45:59 -08:00