File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,18 +136,20 @@ jobs:
136136 run : |
137137 python tools/test_matchcompiler.py
138138
139+ # TODO: run with "-n auto" when misra_test.py can be run in parallel
139140 # we cannot specify -Werror since xml/etree/ElementTree.py in Python 3.9/3.10 contains an unclosed file
140141 - name : test addons
141142 if : matrix.python-version == '3.9' || matrix.python-version == '3.10'
142143 run : |
143- python -m pytest --strict-markers -vv -n auto addons/test
144+ python -m pytest --strict-markers -vv -n 1 addons/test
144145 env :
145146 PYTHONPATH : ./addons
146147
148+ # TODO: run with "-n auto" when misra_test.py can be run in parallel
147149 - name : test addons
148150 if : matrix.python-version != '3.9' && matrix.python-version != '3.10'
149151 run : |
150- python -m pytest -Werror --strict-markers -vv -n auto addons/test
152+ python -m pytest -Werror --strict-markers -vv -n 1 addons/test
151153 env :
152154 PYTHONPATH : ./addons
153155
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def checker():
3030 return MisraChecker (settings )
3131
3232
33+ # FIXME: files are generates in the source tree so it will cause issues if tests are run with xdist.
3334@pytest .fixture
3435def test_files ():
3536 for f in TEST_SOURCE_FILES :
You can’t perform that action at this time.
0 commit comments