|
|
@ -158,7 +158,7 @@ jobs: |
|
|
|
- name: Build openpilot |
|
|
|
- name: Build openpilot |
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
- name: Run unit tests |
|
|
|
- name: Run unit tests |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 6 }} |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.setup-step.outputs.duration < 18 && 1 || 2) || 6 }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|
${{ env.RUN }} "$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|
MAX_EXAMPLES=1 $PYTEST -m 'not slow' && \ |
|
|
|
MAX_EXAMPLES=1 $PYTEST -m 'not slow' && \ |
|
|
@ -190,7 +190,7 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
- name: Run replay |
|
|
|
- name: Run replay |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.dependency-cache.outputs.cache-hit == 'true') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 6 }} |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.dependency-cache.outputs.cache-hit == 'true') && (steps.setup-step.outputs.duration < 18 && 1 || 2) || 6 }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "selfdrive/test/process_replay/test_processes.py -j$(nproc) && \ |
|
|
|
${{ env.RUN }} "selfdrive/test/process_replay/test_processes.py -j$(nproc) && \ |
|
|
|
chmod -R 777 /tmp/comma_download_cache" |
|
|
|
chmod -R 777 /tmp/comma_download_cache" |
|
|
@ -242,7 +242,7 @@ jobs: |
|
|
|
- name: Build openpilot |
|
|
|
- name: Build openpilot |
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
- name: Test car models |
|
|
|
- name: Test car models |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 6 }} |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && (steps.setup-step.outputs.duration < 18 && 1 || 2) || 6 }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "MAX_EXAMPLES=1 $PYTEST selfdrive/car/tests/test_models.py && \ |
|
|
|
${{ env.RUN }} "MAX_EXAMPLES=1 $PYTEST selfdrive/car/tests/test_models.py && \ |
|
|
|
sleep 90 && \ |
|
|
|
sleep 90 && \ |
|
|
|