fix test_mutation.py performace (#2012)

stop pytest from executing test_misra.sh in test collections
- in each test_mutation.py worker
This commit is contained in:
Radek 2024-09-06 13:30:05 -07:00 committed by GitHub
parent 6f0d1efbd9
commit 2aaab40117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ jobs:
timeout-minutes: 1 timeout-minutes: 1
run: ${{ env.RUN }} "cd tests/misra && ./test_misra.sh" run: ${{ env.RUN }} "cd tests/misra && ./test_misra.sh"
- name: MISRA mutation tests - name: MISRA mutation tests
timeout-minutes: 5 timeout-minutes: 4
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py" run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
static_analysis: static_analysis:

View File

@ -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!" "pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "-n auto" addopts = "-n auto --ignore-glob='*.sh'"