|
|
|
@ -54,7 +54,7 @@ jobs: |
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
run: | |
|
|
|
|
cd $STRIPPED_DIR |
|
|
|
|
${{ env.RUN }} "python system/manager/build.py" |
|
|
|
|
${{ env.RUN }} "python3 system/manager/build.py" |
|
|
|
|
- name: Run tests |
|
|
|
|
timeout-minutes: 3 |
|
|
|
|
run: | |
|
|
|
@ -221,7 +221,7 @@ jobs: |
|
|
|
|
- name: Upload reference logs |
|
|
|
|
if: ${{ failure() && steps.print-diff.outcome == 'success' && github.repository == 'commaai/openpilot' && env.AZURE_TOKEN != '' }} |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "unset PYTHONWARNINGS && AZURE_TOKEN='$AZURE_TOKEN' python selfdrive/test/process_replay/test_processes.py -j$(nproc) --upload-only" |
|
|
|
|
${{ env.RUN }} "unset PYTHONWARNINGS && AZURE_TOKEN='$AZURE_TOKEN' python3 selfdrive/test/process_replay/test_processes.py -j$(nproc) --upload-only" |
|
|
|
|
# PYTHONWARNINGS triggers a SyntaxError in onnxruntime |
|
|
|
|
- name: Run model replay with ONNX |
|
|
|
|
timeout-minutes: 4 |
|
|
|
@ -291,7 +291,7 @@ jobs: |
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
- name: Get base car info |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "scons -j$(nproc) && python selfdrive/debug/dump_car_docs.py --path /tmp/openpilot_cache/base_car_docs" |
|
|
|
|
${{ env.RUN }} "scons -j$(nproc) && python3 selfdrive/debug/dump_car_docs.py --path /tmp/openpilot_cache/base_car_docs" |
|
|
|
|
sudo chown -R $USER:$USER ${{ github.workspace }} |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
@ -303,7 +303,7 @@ jobs: |
|
|
|
|
run: | |
|
|
|
|
cd current |
|
|
|
|
${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
output=$(${{ env.RUN }} "python selfdrive/debug/print_docs_diff.py --path /tmp/openpilot_cache/base_car_docs") |
|
|
|
|
output=$(${{ env.RUN }} "python3 selfdrive/debug/print_docs_diff.py --path /tmp/openpilot_cache/base_car_docs") |
|
|
|
|
output="${output//$'\n'/'%0A'}" |
|
|
|
|
echo "::set-output name=diff::$output" |
|
|
|
|
- name: Find comment |
|
|
|
@ -348,7 +348,7 @@ jobs: |
|
|
|
|
run: > |
|
|
|
|
${{ env.RUN }} "PYTHONWARNINGS=ignore && |
|
|
|
|
source selfdrive/test/setup_xvfb.sh && |
|
|
|
|
python selfdrive/ui/tests/test_ui/run.py" |
|
|
|
|
python3 selfdrive/ui/tests/test_ui/run.py" |
|
|
|
|
- name: Upload Test Report |
|
|
|
|
uses: actions/upload-artifact@v4 |
|
|
|
|
with: |
|
|
|
|