From efc689a9379c4fc79f210e04ddae63d32933ad9e Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 17 Oct 2024 20:40:13 +0200 Subject: [PATCH 1/2] chore: update macos version to new images --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74e251f12..8265868f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,7 +138,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ "macos-12", "macos-13", "macos-14" ] + os: [ "macos-13", "macos-14", "macos-15" ] python-version: ["3.10", "3.11", "3.12"] steps: From a40a2f96b512d7ab2647d35d394c27cd46bb49c9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 18 Oct 2024 06:26:36 +0200 Subject: [PATCH 2/2] 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