diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f8ece4cc..03dc406c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/requirements-dev.txt b/requirements-dev.txt index d6da8f08f..f1e29f401 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -15,6 +15,7 @@ pytest-asyncio==0.21.1 pytest-cov==4.1.0 pytest-mock==3.12.0 pytest-random-order==1.1.0 +pytest-xdist==3.5.0 isort==5.13.2 # For datetime mocking time-machine==2.13.0