Replace mull with custom mutation test runner (#3130)

simple mutation!
This commit is contained in:
Adeeb Shihadeh
2026-03-10 21:23:32 -07:00
committed by GitHub
parent cbcc9c5c65
commit 37207f61e9
10 changed files with 704 additions and 62 deletions

View File

@@ -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