add pytest-xdist to speed up tests

This commit is contained in:
Matthias
2023-12-24 08:30:21 +01:00
parent 4769b50709
commit 916a847639
2 changed files with 5 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ jobs:
- name: Tests
run: |
pytest --random-order --cov=freqtrade --cov-config=.coveragerc
pytest --random-order -n auto --cov=freqtrade --cov-config=.coveragerc
- name: Coveralls
if: (runner.os == 'Linux' && matrix.python-version == '3.10' && matrix.os == 'ubuntu-22.04')
@@ -188,7 +188,7 @@ jobs:
- name: Tests
run: |
pytest --random-order
pytest --random-order -n auto
- name: Check for repository changes
run: |
@@ -262,7 +262,7 @@ jobs:
- name: Tests
run: |
pytest --random-order
pytest --random-order -n auto
- name: Check for repository changes
run: |
@@ -402,7 +402,7 @@ jobs:
env:
CI_WEB_PROXY: http://152.67.78.211:13128
run: |
pytest --random-order --cov=freqtrade --cov-config=.coveragerc --longrun
pytest --random-order --cov=freqtrade --cov-config=.coveragerc --longrun -n auto
# Notify only once - when CI completes (and after deploy) in case it's successfull