|
|
@ -116,6 +116,8 @@ jobs: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/workflows/setup-pre-commit |
|
|
|
- uses: ./.github/workflows/setup-pre-commit |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
- name: pre-commit |
|
|
|
- name: pre-commit |
|
|
|
timeout-minutes: 4 |
|
|
|
timeout-minutes: 4 |
|
|
|
run: ${{ env.RUN }} "unset PYTHONWARNINGS && pre-commit run --all && chmod -R 777 /tmp/pre-commit" |
|
|
|
run: ${{ env.RUN }} "unset PYTHONWARNINGS && pre-commit run --all && chmod -R 777 /tmp/pre-commit" |
|
|
@ -143,7 +145,7 @@ jobs: |
|
|
|
$PYTEST --timeout 60 -m 'not slow' && \ |
|
|
|
$PYTEST --timeout 60 -m 'not slow' && \ |
|
|
|
./selfdrive/ui/tests/create_test_translations.sh && \ |
|
|
|
./selfdrive/ui/tests/create_test_translations.sh && \ |
|
|
|
QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \ |
|
|
|
QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \ |
|
|
|
./selfdrive/ui/tests/test_translations.py" |
|
|
|
pytest ./selfdrive/ui/tests/test_translations.py" |
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
uses: codecov/codecov-action@v4 |
|
|
|
uses: codecov/codecov-action@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|