mirror of https://github.com/commaai/panda.git
parent
2fbf0c5ff8
commit
b770745342
|
@ -88,8 +88,8 @@ jobs:
|
||||||
scons -j$(nproc) ${{ matrix.flags }} && \
|
scons -j$(nproc) ${{ matrix.flags }} && \
|
||||||
tests/safety/test.sh"
|
tests/safety/test.sh"
|
||||||
|
|
||||||
misra:
|
misra_linter:
|
||||||
name: MISRA C:2012
|
name: MISRA C:2012 Linter
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
|
@ -101,6 +101,17 @@ jobs:
|
||||||
- name: Run MISRA C:2012 analysis
|
- name: Run MISRA C:2012 analysis
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
run: ${{ env.RUN }} "cd tests/misra && ./test_misra.sh"
|
run: ${{ env.RUN }} "cd tests/misra && ./test_misra.sh"
|
||||||
|
|
||||||
|
misra_mutation:
|
||||||
|
name: MISRA C:2012 Mutation
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build Docker image
|
||||||
|
run: eval "$BUILD"
|
||||||
|
- name: Build FW
|
||||||
|
run: ${{ env.RUN }} "scons -j$(nproc)"
|
||||||
- name: MISRA mutation tests
|
- name: MISRA mutation tests
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
|
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
|
||||||
|
|
Loading…
Reference in New Issue