|
|
|
@ -26,7 +26,7 @@ env: |
|
|
|
|
|
|
|
|
|
RUN_CL: docker run --shm-size 1G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e CI=1 -e PYTHONWARNINGS=error -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $CL_BASE_IMAGE /bin/bash -c |
|
|
|
|
|
|
|
|
|
PYTEST: pytest --continue-on-collection-errors --cov --cov-report=xml --cov-append --durations=0 --durations-min=5 --hypothesis-seed 0 |
|
|
|
|
PYTEST: pytest --continue-on-collection-errors --cov --cov-report=xml --cov-append --durations=0 --durations-min=5 --hypothesis-seed 0 -n logical |
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
build_release: |
|
|
|
@ -182,7 +182,7 @@ jobs: |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
|
export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && \ |
|
|
|
|
$PYTEST --timeout 60 -m 'not slow' -n $(nproc) && \ |
|
|
|
|
$PYTEST --timeout 60 -m 'not slow' && \ |
|
|
|
|
./selfdrive/ui/tests/create_test_translations.sh && \ |
|
|
|
|
QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \ |
|
|
|
|
./selfdrive/ui/tests/test_translations.py" |
|
|
|
|