Skip to content

Commit 10baa77

Browse files
committed
Limit test paralellization
1 parent b8b1b2b commit 10baa77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
- script: 'pip install pytest-runner && python setup.py pytest'
170170
displayName: 'Unit tests'
171171
env:
172-
PYTEST_ADDOPTS: '-m "not (notebook or automl or dml or causal)"'
172+
PYTEST_ADDOPTS: '-m "not (notebook or automl or dml or causal)" -n 2'
173173
COVERAGE_PROCESS_START: 'setup.cfg'
174174
- task: PublishTestResults@2
175175
displayName: 'Publish Test Results **/test-results.xml'
@@ -223,7 +223,7 @@ jobs:
223223
- script: 'pip install pytest-runner && python setup.py pytest'
224224
displayName: 'Unit tests'
225225
env:
226-
PYTEST_ADDOPTS: '-m "causal"'
226+
PYTEST_ADDOPTS: '-m "causal" -n 1'
227227
COVERAGE_PROCESS_START: 'setup.cfg'
228228
- task: PublishTestResults@2
229229
displayName: 'Publish Test Results **/test-results.xml'

0 commit comments

Comments
 (0)