mirror of
https://github.com/commaai/opendbc.git
synced 2026-06-08 06:04:45 +08:00
CI: move ubsan into test.sh matrix (#2305)
* CI: move ubsan into test.sh matrix * try this
This commit is contained in:
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@@ -15,26 +15,16 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-24.04' }}
|
||||
flags: ''
|
||||
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-24.04' }}
|
||||
flags: '--ubsan'
|
||||
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-macos-8x14' || 'macos-latest' }}
|
||||
flags: ''
|
||||
steps:
|
||||
- uses: commaai/timeout@v1
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/workflows/cache
|
||||
- run: ./test.sh
|
||||
|
||||
safety_tests:
|
||||
name: safety
|
||||
runs-on: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
flags: ['--ubsan']
|
||||
steps:
|
||||
- uses: commaai/timeout@v1
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/workflows/cache
|
||||
- name: Run safety tests
|
||||
run: ./opendbc/safety/tests/test.sh ${{ matrix.flags }}
|
||||
- run: ./test.sh ${{ matrix.flags }}
|
||||
|
||||
mutation:
|
||||
name: Safety mutation tests
|
||||
|
||||
Reference in New Issue
Block a user