From b770745342dc52fe30434763532e4c73887c71ca Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 21 Nov 2024 11:48:02 -0800 Subject: [PATCH] ci: split MISRA linter and MISRA mutation (#2086) * sep * this --- .github/workflows/test.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 367cf2dc3..52c2a0610 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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: @@ -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"