Commit Graph

262 Commits

Author SHA1 Message Date
Maxime Desroches
13760968bb ci: set timeout based on runner (#33991)
* timeout

* 20
2024-11-11 14:28:15 -08:00
Maxime Desroches
4979182a2e ci: faster test_models (#33956)
* less

* timeout

* less

* merge

* debug

* debug

* try

* check now

* try this

* push

* fix

* CACHE

* test

* fix

* fix

* for now

* fix

* fix
2024-11-08 19:38:38 -08:00
Maxime Desroches
a642973dc7 ci: try faster macos setup (#33966)
* test

* try

* try

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* cleanup
2024-11-07 22:31:23 -08:00
Maxime Desroches
4f9794097b ci: faster unit_tests (#33953)
* effect

* test

* no

* yes

* try some caching

* try

* 1

* try more 1

* just for fun

* 50 maybe????

* all for nothing

* fix

* add back

* back

* timeout

* clean

* try

* no

* less
2024-11-07 15:29:07 -08:00
Maxime Desroches
c995d5b9ae ci: faster test_models (#33941)
* test

* try 4 runners

* try

* 100 for fun

* the fun is over

* try even less
2024-11-06 19:17:15 -08:00
Maxime Desroches
421ee1cffb ci: retry lfs pull (#33918)
* retry

* pin

* name
2024-11-01 22:06:10 -07:00
Maxime Desroches
3e1e9892a0 ci: increase submodules fetch timeout (#33899)
* fix

* increase
2024-10-30 20:21:49 -07:00
Maxime Desroches
183a058853 ci: use setup with retry for static analysis (#33898)
* docker

* setup

* now
2024-10-30 19:57:27 -07:00
Maxime Desroches
219fd82b2c ci: fix ui_preview when testing the tests (#33891)
fix for loop
2024-10-29 19:49:23 -07:00
Maxime Desroches
fe53185f64 ci: faster ui preview (#33890)
* fast

* fast

* cleanup
2024-10-29 19:32:31 -07:00
Maxime Desroches
3f09d19c95 ci: x86 build on namespace runner (#33889)
ns
2024-10-29 17:08:57 -07:00
Maxime Desroches
db98566084 ci: faster sim test (#33888)
* sim

* no more
2024-10-29 16:59:48 -07:00
Adeeb Shihadeh
1570aa7961 ci: tmp disable regen 2024-10-25 10:47:08 -07:00
Maxime Desroches
d72b59832c ci: remove model_replay on pc (#33751)
remove
2024-10-08 14:24:46 -07:00
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: 48bceb2bbf
2024-08-26 17:12:01 -07:00
Maxime Desroches
8c8a4b4961 replace python with python3 (#33303)
3
old-commit-hash: 406939b9c0
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: 63a38dcd4d
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: eb50f5cae8
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: f8f6c39915
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: 3af774725f
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: 30467b44cd
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: 13511e383c
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: 4b11c9e914
2024-08-01 16:44:10 -07:00
Adeeb Shihadeh
e37e93d57b CI: increase shm size to 2G
old-commit-hash: 76fd5b00f1
2024-07-30 14:29:48 -07:00
Adeeb Shihadeh
fbdb5f3495 mac's getting there
old-commit-hash: c8622c9553
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: d49c5193c3
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: dcdac84f0c
2024-07-22 11:45:39 -07:00
signed-long
a11f57cc7d CI: fix ui report directory (#32991)
fix report artifact name
old-commit-hash: c759fe9002
2024-07-15 08:01:51 -07:00
Hoang Bui
856e536aa8 CI: Compile openpilot on macOS (#32909)
* working

* cache

* bring back
old-commit-hash: 15d3397ec6
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: 635b15a573
2024-07-06 02:47:59 +00:00
Mauricio Alvarez Leon
42cee115ad CI: test the tests (#32869)
old-commit-hash: 0fecfd6c45
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: 12d5afba73
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: 0c9f1d8118
2024-06-26 17:47:25 +00:00
Adeeb Shihadeh
6745358478 remove mapbox references (#32811)
old-commit-hash: bccccde568
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: a132a23574
2024-06-20 22:52:19 +00:00
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