|
|
|
@ -327,6 +327,26 @@ jobs: |
|
|
|
|
comment_id: ${{ steps.fc.outputs.comment-id }} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
simulator_driving: |
|
|
|
|
name: simulator driving |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-24.04' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
|
submodules: true |
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
- name: Build openpilot |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
- name: Driving test |
|
|
|
|
timeout-minutes: 1 |
|
|
|
|
run: | |
|
|
|
|
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \ |
|
|
|
|
source selfdrive/test/setup_vsound.sh && \ |
|
|
|
|
CI=1 pytest tools/sim/tests/test_metadrive_bridge.py" |
|
|
|
|
|
|
|
|
|
create_ui_report: |
|
|
|
|
# This job name needs to be the same as UI_JOB_NAME in ui_preview.yaml |
|
|
|
|
name: Create UI Report |
|
|
|
|