|
|
|
@ -69,7 +69,7 @@ jobs: |
|
|
|
|
matrix: |
|
|
|
|
arch: ${{ fromJson( |
|
|
|
|
((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} |
|
|
|
|
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-20.04' }} |
|
|
|
|
steps: |
|
|
|
@ -122,7 +122,7 @@ jobs: |
|
|
|
|
static_analysis: |
|
|
|
|
name: static analysis |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
@ -155,7 +155,7 @@ jobs: |
|
|
|
|
unit_tests: |
|
|
|
|
name: unit tests |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
@ -186,7 +186,7 @@ jobs: |
|
|
|
|
process_replay: |
|
|
|
|
name: process replay |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
@ -235,7 +235,7 @@ jobs: |
|
|
|
|
regen: |
|
|
|
|
name: regen |
|
|
|
|
runs-on: 'ubuntu-20.04' |
|
|
|
|
steps: |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
|
submodules: true |
|
|
|
@ -293,7 +293,7 @@ jobs: |
|
|
|
|
test_cars: |
|
|
|
|
name: cars |
|
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
((github.event_name != 'pull_request') || |
|
|
|
|
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} |
|
|
|
|
strategy: |
|
|
|
|
fail-fast: false |
|
|
|
@ -395,7 +395,7 @@ jobs: |
|
|
|
|
run: > |
|
|
|
|
${{ env.RUN }} "PYTHONWARNINGS=ignore && |
|
|
|
|
source selfdrive/test/setup_xvfb.sh && |
|
|
|
|
export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && |
|
|
|
|
export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && |
|
|
|
|
python selfdrive/ui/tests/test_ui/run.py" |
|
|
|
|
- name: Upload Test Report |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|