mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-19 00:02:08 +08:00
CI: use xdist for car model tests (#29514)
* bump panda * try multithreaded for car models * need pytest-cov * upgraded to poetry 1.5.1 and regenerated old-commit-hash: 3492e80d19a4395d9481076c916f9ab96a8fb004
This commit is contained in:
@@ -383,8 +383,7 @@ jobs:
|
||||
- name: Test car models
|
||||
timeout-minutes: 25
|
||||
run: |
|
||||
${{ env.RUN }} "coverage run -m pytest selfdrive/car/tests/test_models.py && \
|
||||
coverage xml && \
|
||||
${{ env.RUN }} "pytest --cov --cov-report=xml -n auto --dist=loadscope selfdrive/car/tests/test_models.py && \
|
||||
chmod -R 777 /tmp/comma_download_cache"
|
||||
env:
|
||||
NUM_JOBS: 5
|
||||
|
||||
Generated
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7616cdd0f1b405b1e867be8c62059002a1e6c7489ef213bf2b5673981614d58b
|
||||
size 369979
|
||||
oid sha256:84f8705c459327c978b80ba946251e21c9f93076a3bebb5c823dbbf2defbcef7
|
||||
size 370448
|
||||
|
||||
@@ -119,6 +119,7 @@ pycurl = "*"
|
||||
pygame = "*"
|
||||
pyprof2calltree = "*"
|
||||
pytest = "*"
|
||||
pytest-cov = "*"
|
||||
pytest-xdist = "*"
|
||||
scipy = "*"
|
||||
sphinx = "*"
|
||||
|
||||
Reference in New Issue
Block a user