jenkins: spilt car tests in two steps (#31346)

fix
pull/31352/head
Justin Newberry 1 year ago committed by GitHub
parent 28276a4485
commit 8a00b30029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      Jenkinsfile

5
Jenkinsfile vendored

@ -272,8 +272,9 @@ node {
'car tests': { 'car tests': {
pcStage("car tests") { pcStage("car tests") {
sh label: "build", script: "selfdrive/manager/build.py" sh label: "build", script: "selfdrive/manager/build.py"
sh label: "run car tests", script: "cd selfdrive/car/tests && MAX_EXAMPLES=300 INTERNAL_SEG_CNT=300 FILEREADER_CACHE=1 \ sh label: "test_models", script: "INTERNAL_SEG_CNT=300 FILEREADER_CACHE=1 INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt \
INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt pytest test_models.py test_car_interfaces.py" pytest selfdrive/car/tests/test_models.py"
sh label: "test_car_interfaces", script: "MAX_EXAMPLES=300 pytest selfdrive/car/tests/test_car_interfaces.py"
} }
}, },

Loading…
Cancel
Save