mirror of
https://github.com/commaai/opendbc.git
synced 2026-06-08 06:04:45 +08:00
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -44,17 +44,13 @@ jobs:
|
||||
include:
|
||||
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
|
||||
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-macos-8x14' || 'macos-latest' }}
|
||||
env:
|
||||
GIT_REF: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.event.before || format('origin/{0}', github.event.repository.default_branch) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # need master to get diff
|
||||
- name: Run mutation tests
|
||||
run: |
|
||||
source setup.sh
|
||||
scons -j8
|
||||
cd opendbc/safety/tests && ./mutation.sh
|
||||
python opendbc/safety/tests/mutation.py
|
||||
|
||||
car_diff:
|
||||
name: car diff
|
||||
|
||||
Reference in New Issue
Block a user