CI: run car unit tests in parallel (#23379)

* CI: run car unit tests in parallel

* move that
old-commit-hash: cd42be7777
commatwo_master
Adeeb Shihadeh 3 years ago committed by GitHub
parent e9169797ea
commit 5e490d86c3
  1. 7
      .github/workflows/selfdrive_tests.yaml
  2. 4
      Pipfile
  3. 4
      Pipfile.lock

@ -351,11 +351,12 @@ jobs:
name: longitudinal
path: selfdrive/test/longitudinal_maneuvers/out/longitudinal/
test_car_models:
name: car models
test_cars:
name: cars
runs-on: ubuntu-20.04
timeout-minutes: 50
strategy:
fail-fast: false
matrix:
job: [0, 1, 2, 3]
steps:
@ -385,7 +386,7 @@ jobs:
- name: Test car models
run: |
${{ env.RUN }} "scons -j$(nproc) --test && \
FILEREADER_CACHE=1 coverage run selfdrive/test/test_models.py && \
FILEREADER_CACHE=1 pytest -n 4 selfdrive/test/test_models.py && \
chmod -R 777 /tmp/comma_download_cache"
env:
NUM_JOBS: 4

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f2b0d547ef23a2ca1279e516813c82d4dc1a6b258d5e1356bfbe59211459068
size 1236
oid sha256:41a4d986dd7b786f56c8b76a84b897e394b390647272153c20db1ad3f1db531c
size 1268

4
Pipfile.lock generated

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e3700d16d52db5ed0b47e55dee17c900f0b9bbfd8cf865e911f00d7a6d85403
size 146742
oid sha256:cffe2ec3c20be1cef17765fd41ddd7e72a3bc6375599b7df2978e652b2f6d1d2
size 143747

Loading…
Cancel
Save