From 76b0ac69074f53a7a3d340e4627da5912c1bab57 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Tue, 21 Oct 2025 13:46:09 +0200 Subject: [PATCH 1/3] expand test suite to include macos and windows --- .github/workflows/test.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe24c82..0b05c82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,18 +26,25 @@ env: jobs: test: - runs-on: ubuntu-latest strategy: matrix: - python-version: - - "3.8" - - "3.9" - - "3.10" - - "3.11" - - "3.12" - - "3.13" - - "3.14" + os: [ ubuntu-latest, windows-latest, macos-latest ] + python-version: ["3.14"] + include: + - os: windows-latest + python-version: "3.8" + - os: macos-latest + python-version: "3.9" + - os: ubuntu-latest + python-version: "3.10" + - os: windows-latest + python-version: "3.11" + - os: macos-latest + python-version: "3.12" + - os: ubuntu-latest + python-version: "3.13" fail-fast: false + runs-on: ${{ matrix.os }} steps: - name: Dump GitHub context env: @@ -75,7 +82,7 @@ jobs: - name: Store coverage files uses: actions/upload-artifact@v4 with: - name: coverage-${{ matrix.python-version }} + name: coverage-${{ runner.os }}-${{ matrix.python-version }} path: coverage include-hidden-files: true From 7b822ec320bea4f24099745b585cae25bb99ebd0 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Tue, 21 Oct 2025 13:46:39 +0200 Subject: [PATCH 2/3] set relative files to coverage run --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1763805..730bb16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,6 +89,7 @@ source = [ "src", "tests", ] +relative_files = true context = '${CONTEXT}' dynamic_context = "test_function" omit = [ From ae2422cbe4e81882ab6db2163cd85f0ae4c6900f Mon Sep 17 00:00:00 2001 From: svlandeg Date: Tue, 21 Oct 2025 13:50:40 +0200 Subject: [PATCH 3/3] fix formatting --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b05c82..1bd7267 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,17 +32,17 @@ jobs: python-version: ["3.14"] include: - os: windows-latest - python-version: "3.8" + python-version: "3.8" - os: macos-latest - python-version: "3.9" + python-version: "3.9" - os: ubuntu-latest - python-version: "3.10" + python-version: "3.10" - os: windows-latest - python-version: "3.11" + python-version: "3.11" - os: macos-latest - python-version: "3.12" + python-version: "3.12" - os: ubuntu-latest - python-version: "3.13" + python-version: "3.13" fail-fast: false runs-on: ${{ matrix.os }} steps: