Commit Graph

206 Commits

Author SHA1 Message Date
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
Justin Newberry 26181374e6 CI: use auto-cache for test_models (#31171)
use auto cache
old-commit-hash: 6262de44190ffd02bf6dc7db418599885db800f3
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: faf99ba711cb12e33e0e1b6034ec146b65f7a854
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: e2ec5be6eec73f6455727313ba2b9c5bb01cce8c
2024-01-24 13:54:31 -08:00
Justin Newberry 20526ce562 car tests on namespace (#31080)
cars
old-commit-hash: dc9ffd2f100891554eaaad10139f233229390d56
2024-01-19 14:53:52 -08:00
Adeeb Shihadeh 85b48a800e bump that up
old-commit-hash: 8a26b4383f6dfa6a1fca7d4db5bfcc0d4b06deda
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: f0f7e86dcc1c1a5ab3fbf68854e6f609691eda25
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: 35ed8a0886d8badf05f72edc597a536e1b03d08c
2024-01-18 22:13:19 -08:00
Justin Newberry d6922d3522 Revert "CI: use namespace.so" (#31060)
old-commit-hash: 23cbfe9eb3fc3fd3655e41d44a63a20e04bae1f1
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: 9ee0a8a2b1abb01eeaca7aa9de5fa86ee60a59e9
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: d98b33adc8aaf10d0174d59e4065802c70a3413a
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: e17e66180c3a9432e6d303ca36ff0e4af763dace
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: 3e601b5e8fcaf2fd0885cc64949fa1349a8069eb
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: af1b7e5c5912f328d196ff7da952f756a0fc5d04
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: 576cba217d1334b6429762bb47dfdb77adc576d1
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: 9b25bfc61866ff7853218e72aebd10df3c28595c
2024-01-02 13:48:16 -08:00
Justin Newberry 6c6f6ef45a CI: set CI=1 globally (#30888)
ci=1
old-commit-hash: 86bd3379522c67da94a3ac6f3e0628bffa14ce50
2024-01-02 13:17:19 -08:00
Adeeb Shihadeh 9ae1b6473c run test_fuzzy.py with pytest
old-commit-hash: b0b4ae9c15e5e4651a83bc9a0a857baf27513d4b
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: 5d668701cb69c1e3d170109a8e788a2acbacebd3
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: a3c0e2bd2500e04da1b8afd39657e7e12e555a7e
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: 7b5d4d031adb0e2fecf36772bbbb95e2989b9cc7
2023-12-11 14:46:56 -08:00
Adeeb Shihadeh d84af30348 bump model unit test timeout
old-commit-hash: afd5877be8260afd840512d477b9164595343eed
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: 90c873ab1def0756f6f91fcb7f2d6fad503e3f49
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: 2ad82cbfb064676401876a20e49e3965c40344a0
2023-11-13 10:45:24 -08:00
Justin Newberry a0b0c1c4e7 CI: codecov for multiprocessing (#30432)
old-commit-hash: 26294173207cd5e3c586ca71a88fdd3a09fc7345
2023-11-10 10:02:05 -08:00
Justin Newberry 0a901ebe02 Revert "CI: codecov for multiprocessing" (#30431)
Revert "CI: codecov for multiprocessing (#30428)"

This reverts commit 3b07eefe35677ba9cd35680864b88d5eacd3a25e.
old-commit-hash: 863fdec50e6e222b4b50157c7fe2e254de3435bd
2023-11-09 15:52:28 -08:00
Justin Newberry 81e3076dc6 CI: codecov for multiprocessing (#30428)
* concurrencty codecov

* its a list

* retrigger ci

* increase delay
old-commit-hash: 1e91cf92a180f7093279d19e4a8694c353910d15
2023-11-09 15:19:10 -08:00
Justin Newberry d50bddf658 CI: label codecov uploads (#30426)
* label

* matrix
old-commit-hash: 5c2796a104fd2bfb4ef7a541108bd4faee587ba5
2023-11-09 11:12:19 -08:00
Justin Newberry e55c032ac0 CI: pytest for the rest for GHA (#30418)
* pytest car

* all pytest

* need more time

* keep release test short

* keep it short
old-commit-hash: 53b6ab9e180381134c3809239768477bcc6cbd25
2023-11-08 16:04:02 -08:00
Justin Newberry 621dae92c7 build_release: increase timeout again (#30417)
* inc timeout

* 3 minute timeout
old-commit-hash: 844cbd95e73b9ea5cc9571534644342458c36d14
2023-11-08 14:32:16 -08:00
Justin Newberry d2fde3ab22 build_release: increase timeout (#30416)
inc timeout
old-commit-hash: fa9d3ec1f5c3ca0b32d61a1fdd410cd7bb59c932
2023-11-08 14:15:15 -08:00
Justin Newberry b4992fefed Pytest: consistent codecov (#30408)
* seed only

* random seed

* ignore version.py

* increase max examples

* increase default max examples
old-commit-hash: d02dd50749c8dabc1cd3385bdf2cf3fb7cb7ac63
2023-11-08 13:43:32 -08:00
Shane Smiskol f22eeaa0be selfdrive_tests: allow manual run (#30307)
* allow manual run

* Apply suggestions from code review
old-commit-hash: 2acb22fadacaa57919e1bf7bbe93e49542db6600
2023-10-25 15:17:17 -07:00
Adeeb Shihadeh 79ad4feddb CI: update to checkout@v4 (#30248)
old-commit-hash: 0336219b6a8c1a416efc6fe70545be6f20aa9bab
2023-10-14 23:25:41 -07:00
Kacper Rączy 2878a3a876 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>
old-commit-hash: 3aa74c28fcd426f73da2201b2fdd7ac2be21ba71
2023-10-05 13:59:00 -07:00
Adeeb Shihadeh e0346cac83 CI: disable native mac build (#30082)
old-commit-hash: 4f72e87ab740ad12932102a8b111818afc77ec38
2023-09-27 21:15:53 -07:00
Justin Newberry ef75f0ab12 CI: use "slow" marker for pytest (#30063)
* skip to mark

* fix quotes
old-commit-hash: 0251742079b206ce40a3b4d8ae9cec1381494d4a
2023-09-26 13:44:18 -07:00
Adeeb Shihadeh 3512ac86eb pre-commit: always check all file sizes (#30050)
* pre-commit: always check all file sizes

* fix release
old-commit-hash: 425fa316d15e45595ecdd7d394ee28d7fb84e214
2023-09-25 22:22:48 -07:00
Adeeb Shihadeh e69eeb7344 move remaining big files into LFS (#30053)
old-commit-hash: e185e5ffcd165ee35e1bbd8c80631a89247a1dfc
2023-09-25 21:53:03 -07:00
Justin Newberry 52b437f6b6 CI: remove warning messages (#30013)
remove ci warnings
old-commit-hash: f223b66b7ba3f0b5f9cfb86b6350e8bb1d53d0f3
2023-09-22 19:59:38 -07:00
Justin Newberry 70a5d52887 CI: disable buildjet on PR's from forks (#29979)
* fix fork CI

* linter

* needed for docker build too

* slightly more clear

* you should have gone for the head
old-commit-hash: 6f0affbcd29d3ac84ca5db73d3eb12dbfcd6b79f
2023-09-20 13:15:23 -07:00
Adeeb Shihadeh e14996e079 CI: login to docker hub on BuildJet (#29961)
* CI: login to docker hub on BuildJet

* shell

* try quotes

* forward

* try this

* can't believe this is broken

* try

* fix process replay
old-commit-hash: 4b7b234b9e91c0a291e2ff3fae6e6b5f0cf02113
2023-09-18 15:53:16 -07:00
Adeeb Shihadeh ee0ddd7e26 Revert "CI: login to dockerhub on aarch64 runners (#29915)"
This reverts commit 28211fe8ada8997119c57c5619349332a406aa76.

old-commit-hash: 079a51cfdff8e79aa4e85d8e3c70285c0a7ab2e0
2023-09-17 15:16:07 -07:00