mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
CI: run car unit tests in parallel (#23379)
* CI: run car unit tests in parallel * move that old-commit-hash: cd42be7777aa7901f1d12ccf0b3d2562dc209a44
This commit is contained in:
@@ -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
|
||||
|
||||
Generated
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e3700d16d52db5ed0b47e55dee17c900f0b9bbfd8cf865e911f00d7a6d85403
|
||||
size 146742
|
||||
oid sha256:cffe2ec3c20be1cef17765fd41ddd7e72a3bc6375599b7df2978e652b2f6d1d2
|
||||
size 143747
|
||||
|
||||
Reference in New Issue
Block a user