From a40a2f96b512d7ab2647d35d394c27cd46bb49c9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 18 Oct 2024 06:26:36 +0200 Subject: [PATCH] chore: attempt to speed up CI Coveralls is only needed by one matrix run ... --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8265868f1..969d1cea2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,12 @@ jobs: python build_helpers/freqtrade_client_version_align.py - name: Tests + if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-22.04')) + run: | + pytest --random-order + + - name: Tests with Coveralls + if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-22.04') run: | pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc