|
|
|
|
@ -161,9 +161,9 @@ jobs: |
|
|
|
|
- name: Run unit tests |
|
|
|
|
timeout-minutes: ${{ contains(runner.name, 'nsc') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 20 }} |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
|
$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|
|
MAX_EXAMPLES=1 $PYTEST -m 'not slow' && \ |
|
|
|
|
${{ env.RUN }} "$PYTEST --collect-only -m 'not slow' &> /dev/null && \ |
|
|
|
|
MAX_EXAMPLES=1 $PYTEST --xvfb-backend xvfb -m 'not slow' && \ |
|
|
|
|
source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
|
./selfdrive/ui/tests/create_test_translations.sh && \ |
|
|
|
|
QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \ |
|
|
|
|
chmod -R 777 /tmp/comma_download_cache" |
|
|
|
|
|