|
|
@ -159,7 +159,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: 5 |
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 20 }} |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|
$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|