Adeeb Shihadeh
149238845c
Revert "`pytest`: discover `openpilot/` ( #32561 )" ( #32622 )
...
This reverts commit 00b10f3d9a
.
12 months ago
Adeeb Shihadeh
57a9761186
add pytest-repeat ( #32612 )
12 months ago
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>
12 months ago
Hoang Bui
aa081f5748
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
12 months ago
Adeeb Shihadeh
ccbca2ac95
Revert "pyproject: support >= 3.11"
...
This reverts commit 390caeb011
.
1 year ago
Adeeb Shihadeh
390caeb011
pyproject: support >= 3.11
1 year ago
Adeeb Shihadeh
73b02f2cda
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
1 year ago
Adeeb Shihadeh
b9244f1031
move rerun to dev dependencies ( #32534 )
1 year ago
Adeeb Shihadeh
b2cf9b35f6
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
1 year ago
Adeeb Shihadeh
0e3df5ae4d
ruff: enable TRY
1 year ago
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
1 year ago
Adeeb Shihadeh
788c4edeec
ruff: enable NPY
1 year ago
Adeeb Shihadeh
3279dbeff7
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
1 year ago
Mauricio Alvarez Leon
bd6bea39bf
deps: add rerun-sdk into pyproject.toml ( #32472 )
...
* add rerun-sdk into pyproject.toml
* install/wheel cleanup
* unpin version
1 year ago
Adeeb Shihadeh
4c558e45b9
control is still used
1 year ago
Adeeb Shihadeh
1e08132cdf
gc unused python deps
1 year ago
Adeeb Shihadeh
985b22d4b7
add [project] section to pyproject.toml
1 year ago
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>
1 year ago
Shane Smiskol
84c15e9d31
Revert "python deps: add sortedcontainers" ( #32433 )
...
Revert "python deps: add sortedcontainers (#32428 )"
This reverts commit db8273823d
.
1 year ago
YassineYousfi
db8273823d
python deps: add sortedcontainers ( #32428 )
1 year ago
Adeeb Shihadeh
f3a49a29b7
unpin casadi ( #32316 )
1 year ago
Justin Newberry
257db40d57
ruff: Exclude body and cereal ( #31782 )
1 year ago
Clark934
997bb65e54
ruff: set tab size and quote style ( #31749 )
1 year ago
Justin Newberry
ac77129041
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
1 year ago
Justin Newberry
262b328ad7
ban pytest.main ( #31623 )
...
ban it!
1 year ago
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
1 year ago
Shane Smiskol
595406be67
ruff: fix deprecated top level linter settings ( #31367 )
...
fix deprecation
1 year ago
Justin Newberry
530902dfad
bump metadrive ( #31342 )
...
bump
1 year ago
Adeeb Shihadeh
eada51ec8e
pin pyopencl to fix aarch64 build ( #31184 )
...
* revert pyopencl
* revert that
1 year ago
Adeeb Shihadeh
1001becfa5
unpin sentry-sdk ( #31183 )
...
* unpin sentry-sdk
* update
1 year ago
Adeeb Shihadeh
fe4abaa6f6
add flaky package
1 year ago
Justin Newberry
3b618c4dfd
Simulator: pin metadrive + use pip version ( #31161 )
...
* pin metadrive
* pin
* not on git
1 year ago
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
1 year ago
Justin Newberry
d98b33adc8
replace pytest-timeouts with pytest-timeout ( #31053 )
...
* one timeout
* timeout
* higher timeout for now
* bump
1 year ago
YassineYousfi
86ac700805
update onnxruntime to 1.16.3 ( #31024 )
1 year ago
Adeeb Shihadeh
3e601b5e8f
camerad: move ae test to pytest/catch2 ( #30994 )
...
* mv ae gray test
* cleanup
1 year ago
Adeeb Shihadeh
90010754d6
unpin metadrive package ( #30944 )
...
* unpin metadrive package
* lock
1 year ago
Justin Newberry
cfc85f016b
Pytest: exclude teleoprtc ( #30829 )
...
exclude
1 year ago
Adeeb Shihadeh
b0b4ae9c15
run test_fuzzy.py with pytest
1 year ago
Adeeb Shihadeh
846be323d5
packages cleanup, part two
1 year ago
royjr
70624ffc81
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 7ca39e6189
.
* 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
1 year ago
royjr
7f9e41ce2e
dependency: remove atomicwrites package ( #30769 )
...
* Update file_helpers.py
* remove dependency
* Revert "remove dependency"
This reverts commit e2bd5f4eda
.
* remove atomicwrites
* allow overwrite
* fix indents
* add type hints
* Update poetry.lock
* optional
* wrap
1 year ago
Adeeb Shihadeh
bc54ed794b
remove PyYAML package ( #30770 )
...
* remove PyYAML package
* remove those
* add comments back
* fix lock
* fix those
1 year ago
Adeeb Shihadeh
a7828eba3c
remove sconscontrib package ( #30767 )
...
* remove sconscontrib package
* lock
1 year ago
Adeeb Shihadeh
dfa2e9146f
cleanup python dependencies ( #30764 )
...
* less
* try to remove that
* little more
* update
* ugh still need this
1 year ago
Justin Newberry
5d668701cb
CI: move test_maprenderer to GH actions ( #30610 )
...
maprenderer to ci
1 year ago
Justin Newberry
11ec5bf25e
Simulator: remove carla ( #30690 )
...
* no carla
* no arg and stylize metadrive
1 year ago
Shane Smiskol
ac83318ac4
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 aff9a69c4e
.
* lock
* don't randomize by default
* remove random-order
* strict
* random
* one fix
* test
* does nothing
* rm tests
* Revert "rm tests"
This reverts commit b548e3fcd4
.
* (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 02365d712b
.
* 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 2c5caabe2b
.
* tmut
* i concur
* revert
1 year ago
Shane Smiskol
97da129e11
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
1 year ago
Justin Newberry
9dc8ecf722
ruff: ignore teleoprtc repo ( #30627 )
...
ignore it
1 year ago