mirror of https://github.com/commaai/panda.git
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:
parent
6f0d1efbd9
commit
2aaab40117
|
@ -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:
|
||||||
|
|
|
@ -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'"
|
||||||
|
|
Loading…
Reference in New Issue