mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
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:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -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: 4
|
||||
run: ${{ env.RUN }} "cd tests/misra && pytest -n8 test_mutation.py"
|
||||
|
||||
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!"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-n auto"
|
||||
addopts = "-n auto --ignore-glob='*.sh'"
|
||||
|
||||
Reference in New Issue
Block a user