mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
Run CI tests in parallel (#1962)
* run car model unit tests in parallel * remove refs to deleted file * run with coverage * that wasn't necessary * as builder * need a new route for this one too old-commit-hash: 9ee1cc9b828e8018fa37443d90dba95f8a032260
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
||||
external/bin selfdrive/modeld/runners $TEST_DIR
|
||||
|
||||
# need these so docker copy won't fail
|
||||
cp Pipfile Pipfile.lock .pylintrc .coveragerc-app .pre-commit-config.yaml $TEST_DIR
|
||||
cp Pipfile Pipfile.lock .pylintrc .pre-commit-config.yaml $TEST_DIR
|
||||
cd $TEST_DIR
|
||||
mkdir laika laika_repo tools
|
||||
- name: Build Docker image
|
||||
@@ -199,8 +199,8 @@ jobs:
|
||||
run: |
|
||||
$PERSIST "cd /tmp/openpilot && \
|
||||
scons -j$(nproc) && \
|
||||
coverage run --parallel-mode --concurrency=multiprocessing \
|
||||
--rcfile=./.coveragerc-app selfdrive/test/test_models.py && \
|
||||
coverage run --parallel-mode -m nose --processes=4 --process-timeout=60 \
|
||||
selfdrive/test/test_models.py && \
|
||||
coverage combine"
|
||||
- name: Upload coverage to Codecov
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user