From bfcc438f79ff4b9d21930e9f9a052ca036f46ff0 Mon Sep 17 00:00:00 2001 From: dzid26 Date: Thu, 5 Sep 2024 21:26:14 -0700 Subject: [PATCH] stop pytest from executing test_misra.sh in test collections - in each test_mutation.py worker --- .github/workflows/test.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5b62bf18fd..13ee6eaf83 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -100,7 +100,7 @@ jobs: timeout-minutes: 1 run: ${{ env.RUN }} "cd tests/misra && ./test_misra.sh" - name: MISRA mutation tests - timeout-minutes: 5 + timeout-minutes: 3 run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py" static_analysis: diff --git a/pyproject.toml b/pyproject.toml index 375885e54d..bcaf46b4ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,4 +12,4 @@ flake8-implicit-str-concat.allow-multiline=false "pytest.main".msg = "pytest.main requires special handling that is easy to mess up!" [tool.pytest.ini_options] -addopts = "-n auto" +addopts = "-n auto --ignore=test_misra.sh"