From 36db4e90d46ab04e612e9d30ff54ba27206029b0 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 22 Apr 2025 13:42:26 +0200 Subject: [PATCH 1/2] Update CI matrix to run `v4` subfolder separately --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad4a485c9e..cabcea1c3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,18 +18,24 @@ defaults: jobs: unit-test: - name: "py${{ matrix.python-version }} | ${{ matrix.os }} | unit tests" + name: "py${{ matrix.python-version }} | ${{ matrix.os }} | unit tests (${{ matrix.test-subfolder }})" runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false matrix: os: [macos, ubuntu, windows] + test-subfolder: ["/"] python-version: ["3.13"] include: - os: ubuntu python-version: "3.11" + test-subfolder: "/" - os: ubuntu python-version: "3.12" + test-subfolder: "/" + - os: ubuntu + python-version: "3.12" + test-subfolder: "/v4" steps: - name: Checkout uses: actions/checkout@v4 @@ -40,7 +46,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Unit test run: | - coverage run -m pytest -v -s --html=${{ matrix.os }}_${{ matrix.python-version }}_unit_test_report.html --self-contained-html tests + coverage run -m pytest -v -s --html=${{ matrix.os }}_${{ matrix.python-version }}_unit_test_report.html --self-contained-html tests${{ matrix.test-subfolder }} coverage xml - name: Codecov uses: codecov/codecov-action@v5.3.1 From 950bc27c84b149eb90b61833aa06d60c9300b361 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 22 Apr 2025 13:44:02 +0200 Subject: [PATCH 2/2] Remove windows and mac from test matrix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cabcea1c3d..2e96b2fb6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos, ubuntu, windows] + os: [ubuntu] #, mac, windows] # TODO v4: Re-enable windows and mac test-subfolder: ["/"] python-version: ["3.13"] include: @@ -67,7 +67,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos, ubuntu, windows] + os: [ubuntu] #, mac, windows] # TODO v4: Re-enable windows and mac python-version: ["3.13"] include: - os: ubuntu