Adeeb Shihadeh
30c41788dc
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
old-commit-hash: 51fdf23304
1 year ago
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
1 year ago
Adeeb Shihadeh
43dd214f52
Revert "`pytest`: discover `openpilot/` ( #32561 )" ( #32622 )
...
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c
1 year ago
Adeeb Shihadeh
b248bc4bb2
add pytest-repeat ( #32612 )
...
old-commit-hash: 57a9761186
1 year ago
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
1 year ago
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f5748
1 year ago
Adeeb Shihadeh
f6d6d06523
Revert "pyproject: support >= 3.11"
...
This reverts commit d9b0b41a00492cbf4e55c4499080924fd91426ed.
old-commit-hash: ccbca2ac95
1 year ago
Adeeb Shihadeh
68b6612159
pyproject: support >= 3.11
...
old-commit-hash: 390caeb011
1 year ago
Adeeb Shihadeh
4356b74cca
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
old-commit-hash: 73b02f2cda
1 year ago
Adeeb Shihadeh
75f86a0845
move rerun to dev dependencies ( #32534 )
...
old-commit-hash: b9244f1031
1 year ago
Adeeb Shihadeh
14e7c7d260
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
old-commit-hash: b2cf9b35f6
1 year ago
Adeeb Shihadeh
70d14c99e1
ruff: enable TRY
...
old-commit-hash: 0e3df5ae4d
1 year ago
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
1 year ago
Adeeb Shihadeh
73e4aa24b9
ruff: enable NPY
...
old-commit-hash: 788c4edeec
1 year ago
Adeeb Shihadeh
18970afb0e
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
old-commit-hash: 3279dbeff7
1 year ago
Mauricio Alvarez Leon
1600939a38
deps: add rerun-sdk into pyproject.toml ( #32472 )
...
* add rerun-sdk into pyproject.toml
* install/wheel cleanup
* unpin version
old-commit-hash: bd6bea39bf
1 year ago
Adeeb Shihadeh
f3ce476452
control is still used
...
old-commit-hash: 4c558e45b9
1 year ago
Adeeb Shihadeh
c4ed6cc9ca
gc unused python deps
...
old-commit-hash: 1e08132cdf
1 year ago
Adeeb Shihadeh
7dd13bde29
add [project] section to pyproject.toml
...
old-commit-hash: 985b22d4b7
1 year ago
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: dd9d5d4528
1 year ago
Shane Smiskol
8143e49ad1
Revert "python deps: add sortedcontainers" ( #32433 )
...
Revert "python deps: add sortedcontainers (#32428 )"
This reverts commit b7d9690b1c84af21314af1fc452373542f6d8ee3.
old-commit-hash: 84c15e9d31
1 year ago
YassineYousfi
6e8e119638
python deps: add sortedcontainers ( #32428 )
...
old-commit-hash: db8273823d
1 year ago
Adeeb Shihadeh
1cf55e7416
unpin casadi ( #32316 )
...
old-commit-hash: f3a49a29b7
1 year ago
Justin Newberry
44dba36bc3
ruff: Exclude body and cereal ( #31782 )
...
old-commit-hash: 257db40d57
2 years ago
Clark934
97aa95e454
ruff: set tab size and quote style ( #31749 )
...
old-commit-hash: 997bb65e54
2 years ago
Justin Newberry
4166525f03
updated: basic e2e update tests ( #31742 )
...
* e2e update test
* that too
* fix
* fix
* fix running in docker
* don't think GHA will work
* also test switching branches
* it's a test
* lets not delete that yet
* comment
* space
old-commit-hash: ac77129041
2 years ago
Justin Newberry
d356ae040e
ban pytest.main ( #31623 )
...
ban it!
old-commit-hash: 262b328ad7
2 years ago
Cameron Clough
a09300385b
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
2 years ago
Shane Smiskol
cc11691902
ruff: fix deprecated top level linter settings ( #31367 )
...
fix deprecation
old-commit-hash: 595406be67
2 years ago
Justin Newberry
b610cb8356
bump metadrive ( #31342 )
...
bump
old-commit-hash: 530902dfad
2 years ago
Adeeb Shihadeh
36c2a0bb30
pin pyopencl to fix aarch64 build ( #31184 )
...
* revert pyopencl
* revert that
old-commit-hash: eada51ec8e
2 years ago
Adeeb Shihadeh
42f2592b28
unpin sentry-sdk ( #31183 )
...
* unpin sentry-sdk
* update
old-commit-hash: 1001becfa5
2 years ago
Adeeb Shihadeh
9488aafba4
add flaky package
...
old-commit-hash: fe4abaa6f6
2 years ago
Justin Newberry
fe38a7e1a9
Simulator: pin metadrive + use pip version ( #31161 )
...
* pin metadrive
* pin
* not on git
old-commit-hash: 3b618c4dfd
2 years ago
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: e2ec5be6ee
2 years ago
Justin Newberry
934225a448
replace pytest-timeouts with pytest-timeout ( #31053 )
...
* one timeout
* timeout
* higher timeout for now
* bump
old-commit-hash: d98b33adc8
2 years ago
YassineYousfi
2742a6d3f4
update onnxruntime to 1.16.3 ( #31024 )
...
old-commit-hash: 86ac700805
2 years ago
Adeeb Shihadeh
8277f37c4b
camerad: move ae test to pytest/catch2 ( #30994 )
...
* mv ae gray test
* cleanup
old-commit-hash: 3e601b5e8f
2 years ago
Adeeb Shihadeh
c0cd180e01
unpin metadrive package ( #30944 )
...
* unpin metadrive package
* lock
old-commit-hash: 90010754d6
2 years ago
Justin Newberry
ceec7907cc
Pytest: exclude teleoprtc ( #30829 )
...
exclude
old-commit-hash: cfc85f016b
2 years ago
Adeeb Shihadeh
9ae1b6473c
run test_fuzzy.py with pytest
...
old-commit-hash: b0b4ae9c15
2 years ago
Adeeb Shihadeh
fbb4a865c0
packages cleanup, part two
...
old-commit-hash: 846be323d5
2 years ago
royjr
d41f215df8
dependency: remove pycurl package ( #30771 )
...
* Update qcomgpsd.py
* Update url_file.py
* remove pycurl
* requests -> urllib3
* unused
* redundant
* fix import
* Revert "requests -> urllib3"
This reverts commit 7ca39e618917986f50356519d2795a432e3a5280.
* headless
* fix trail
* use requests.exceptions.RequestException
* use fp.tell
* fix indents
* reorder imports
* change timeout
* fix debug timing
* remove exception
* add timeout
* missing headers
* move to constructor
* move import
* unused import
* fix debug
* try
* no retries
old-commit-hash: 70624ffc81
2 years ago
royjr
6161996653
dependency: remove atomicwrites package ( #30769 )
...
* Update file_helpers.py
* remove dependency
* Revert "remove dependency"
This reverts commit e2bd5f4edab7d14b75f65c296631855d886e38d1.
* remove atomicwrites
* allow overwrite
* fix indents
* add type hints
* Update poetry.lock
* optional
* wrap
old-commit-hash: 7f9e41ce2e
2 years ago
Adeeb Shihadeh
ab31860658
remove PyYAML package ( #30770 )
...
* remove PyYAML package
* remove those
* add comments back
* fix lock
* fix those
old-commit-hash: bc54ed794b
2 years ago
Adeeb Shihadeh
33c46434b9
remove sconscontrib package ( #30767 )
...
* remove sconscontrib package
* lock
old-commit-hash: a7828eba3c
2 years ago
Adeeb Shihadeh
46e4e96440
cleanup python dependencies ( #30764 )
...
* less
* try to remove that
* little more
* update
* ugh still need this
old-commit-hash: dfa2e9146f
2 years ago
Justin Newberry
0939b25bc4
CI: move test_maprenderer to GH actions ( #30610 )
...
maprenderer to ci
old-commit-hash: 5d668701cb
2 years ago
Justin Newberry
9ef90e214d
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
old-commit-hash: 11ec5bf25e
2 years ago
Shane Smiskol
e46c20ac61
test_models: randomize internal segment list ( #30653 )
...
* randomize internal seg list segments
* random
* pytest-randomly sets random.seed to a consistent value for all the workers/processes
* noeol
* update
* Revert "update"
This reverts commit aff9a69c4e5e3934deebaa33986b42f44b55b002.
* lock
* don't randomize by default
* remove random-order
* strict
* random
* one fix
* test
* does nothing
* rm tests
* Revert "rm tests"
This reverts commit b548e3fcd48e60538695506888d863c01b459d27.
* (can't repro locally) just athena should be fine
* bs1
* bs2
* bs3
* bs4
* bs5
* wrong way
* no controls
* no car
* no board
* controls?
* crazy -common
* Revert "crazy -common"
This reverts commit 02365d712b3d09cab1893cce2261a4b418bb3851.
* test athena
* test athena 2
* test athena 3
* test athena 4
* test athena 5
* test athena 6
* test athena 7
* test athena 8
* test athena 9
* ??
* in one commit
* common?
* car and board
* -controls -board
* random-order
* no board
* revert
* car/tests
* least likely
* try
* try 2
* draft
* draft
* so much better
* cmt
* use randomly
* not needed here
* directly modify option works
* bb
* test time
* Revert "test time"
This reverts commit 2c5caabe2b470b47b7322e37800680b92773fccc.
* tmut
* i concur
* revert
old-commit-hash: ac83318ac4
2 years ago