Skip to content

Commit

Permalink
ci: split MISRA linter and MISRA mutation (#2086)
Browse files Browse the repository at this point in the history
* sep

* this
  • Loading branch information
maxime-desroches authored Nov 21, 2024
1 parent 2fbf0c5 commit b770745
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
scons -j$(nproc) ${{ matrix.flags }} && \
tests/safety/test.sh"
misra:
name: MISRA C:2012
misra_linter:
name: MISRA C:2012 Linter
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand All @@ -101,6 +101,17 @@ jobs:
- name: Run MISRA C:2012 analysis
timeout-minutes: 2
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
timeout-minutes: 5
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
Expand Down

0 comments on commit b770745

Please sign in to comment.