mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
safety mutation tests (#2040)
* mutation * clone * origin * get diff * better example * better * fix docker * work on push * make test fail * real change * test all modes * ignore * better * reco * fix * no libpanda on device * curl * nl * nl again * delete * clean * clean * this * add this back * cleanup
This commit is contained in:
14
.github/workflows/test.yaml
vendored
14
.github/workflows/test.yaml
vendored
@@ -103,6 +103,20 @@ jobs:
|
||||
timeout-minutes: 5
|
||||
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
|
||||
|
||||
mutation:
|
||||
name: Mutation tests
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # need master to get diff
|
||||
- name: Build Docker image
|
||||
run: eval "$BUILD"
|
||||
- name: Mutation tests
|
||||
timeout-minutes: 5
|
||||
run: ${{ env.RUN }} "GIT_REF=${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event.before || 'origin/master' }} cd tests/safety && ./mutation.sh"
|
||||
|
||||
static_analysis:
|
||||
name: static analysis
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user