From 0a96aa69b9f47912adceb0d457f200f74dd85612 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 24 Dec 2023 12:15:36 +0100 Subject: [PATCH] Only run parallel on online tests --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 777501999..f01ee4fa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,6 @@ jobs: - name: pip cache (linux) uses: actions/cache@v3 - if: runner.os == 'Linux' with: path: ~/.cache/pip key: test-${{ matrix.os }}-${{ matrix.python-version }}-pip @@ -55,7 +54,6 @@ jobs: cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd .. - name: Installation - *nix - if: runner.os == 'Linux' run: | python -m pip install --upgrade pip wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH @@ -66,7 +64,7 @@ jobs: - name: Tests run: | - pytest --random-order -n auto --cov=freqtrade --cov-config=.coveragerc + pytest --random-order --cov=freqtrade --cov-config=.coveragerc - name: Coveralls if: (runner.os == 'Linux' && matrix.python-version == '3.10' && matrix.os == 'ubuntu-22.04') @@ -188,7 +186,7 @@ jobs: - name: Tests run: | - pytest --random-order -n auto + pytest --random-order - name: Check for repository changes run: | @@ -262,7 +260,7 @@ jobs: - name: Tests run: | - pytest --random-order -n auto + pytest --random-order - name: Check for repository changes run: | @@ -367,7 +365,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.9" + python-version: "3.11" - name: Cache_dependencies uses: actions/cache@v3 @@ -378,7 +376,6 @@ jobs: - name: pip cache (linux) uses: actions/cache@v3 - if: runner.os == 'Linux' with: path: ~/.cache/pip key: test-${{ matrix.os }}-${{ matrix.python-version }}-pip @@ -389,7 +386,6 @@ jobs: cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd .. - name: Installation - *nix - if: runner.os == 'Linux' run: | python -m pip install --upgrade pip wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH