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: 3492e80d19
beeps
Justin Newberry 2 years ago committed by GitHub
parent e022ffe528
commit 3e6ce7d6cd
  1. 3
      .github/workflows/selfdrive_tests.yaml
  2. 4
      poetry.lock
  3. 1
      pyproject.toml

@ -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

4
poetry.lock generated

@ -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 = "*"

Loading…
Cancel
Save