mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 11:13:53 +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: 9ee1cc9b82
This commit is contained in:
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@@ -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