|
|
@ -186,6 +186,304 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: ${{ github.job }} |
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests2: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests3: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests4: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests5: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests6: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests7: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
unit_tests8: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
unit_tests9: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests10: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests11: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests12: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests13: |
|
|
|
|
|
|
|
name: unit tests |
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: ./.github/workflows/setup-with-retry |
|
|
|
|
|
|
|
- name: Build openpilot |
|
|
|
|
|
|
|
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache |
|
|
|
|
|
|
|
run: ${{ env.RUN }} "scons -j$(nproc)" |
|
|
|
|
|
|
|
- name: Run unit tests |
|
|
|
|
|
|
|
timeout-minutes: 15 |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
${{ env.RUN }} "$PYTEST --timeout 30 -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 && \ |
|
|
|
|
|
|
|
./system/camerad/test/ae_gray_test && \ |
|
|
|
|
|
|
|
./selfdrive/test/process_replay/test_fuzzy.py" |
|
|
|
|
|
|
|
- name: "Upload coverage to Codecov" |
|
|
|
|
|
|
|
uses: codecov/codecov-action@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: ${{ github.job }} |
|
|
|
|
|
|
|
|
|
|
|
process_replay: |
|
|
|
process_replay: |
|
|
|
name: process replay |
|
|
|
name: process replay |
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|
runs-on: ${{ ((github.repository == 'commaai/openpilot') && |
|
|
|