From dd5c4279caa3f91f4880a7194fda7c149d3c94dd Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 13 Apr 2025 13:23:56 +0300 Subject: [PATCH 1/4] Test on three operating systems --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7ebf7f..43dd555 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,13 +41,14 @@ jobs: unit: name: Unit tests - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: python-version: - "3.13" - "3.14" + os: [windows-latest, macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 @@ -69,5 +70,6 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v5 with: + flags: ${{ matrix.os }} name: Python ${{ matrix.python-version }} token: ${{ secrets.CODECOV_ORG_TOKEN }} From b744fe31a6ff7ad0ed117818a75104ee6df991c5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 13 Apr 2025 13:37:56 +0300 Subject: [PATCH 2/4] Test on three operating systems and Python 3.14 --- .github/workflows/test.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43dd555..83a75fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,14 +13,24 @@ env: jobs: integration: name: Integration test - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + python-version: + - "3.13" + - "3.14" + os: [windows-latest, macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-python@v5 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Set up requirements run: | From f89317b7d75fa5b9e8733e88a67cd265d4afb7a2 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 13 Apr 2025 16:06:57 +0300 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: Ezio Melotti --- .github/workflows/test.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83a75fa..34c0c00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: - - "3.13" - - "3.14" + python-version: ["3.13", "3.14"] os: [windows-latest, macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 @@ -55,9 +53,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: - - "3.13" - - "3.14" + python-version: ["3.13", "3.14"] os: [windows-latest, macos-latest, ubuntu-latest] steps: From 30c5414911056f5719cac9e3add639246c6ae767 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 13 Apr 2025 19:03:47 +0300 Subject: [PATCH 4/4] Revert integration test changes --- .github/workflows/test.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34c0c00..8a9324f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,22 +13,14 @@ env: jobs: integration: name: Integration test - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - python-version: ["3.13", "3.14"] - os: [windows-latest, macos-latest, ubuntu-latest] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: persist-credentials: false - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + - uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} - allow-prereleases: true + python-version: "3.13" - name: Set up requirements run: |