From 46f2cd7f64211ef9dc43042d2c96ffcb620be078 Mon Sep 17 00:00:00 2001 From: Oliver Bristow Date: Sun, 16 Nov 2025 16:28:22 +0000 Subject: [PATCH 1/2] Expand CI matrix for Python 2.7 and Windows --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47da777..c57b6e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,17 @@ on: jobs: tests: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} strategy: fail-fast: false matrix: + os: + - ubuntu-latest + - windows-latest python-version: + - "2.7" - "3.8" - "3.9" - "3.10" @@ -24,6 +28,9 @@ jobs: - "3.13" - "3.14" - "pypy-3.9" + exclude: + - os: windows-latest + python-version: "pypy-3.9" steps: - name: Check out repository uses: actions/checkout@v4 @@ -34,6 +41,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install system dependencies + if: runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y zip p7zip-full @@ -41,7 +49,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install . pytest pytest-cov + python -m pip install . pytest pytest-cov - name: Run tests run: pytest -vv --cov=jsonstore --cov-report=xml --junitxml=test-results.xml From 7aa9c1f115408232f7ee7db628c0c6b5b2dd6e6f Mon Sep 17 00:00:00 2001 From: Oliver Bristow Date: Sun, 16 Nov 2025 16:38:47 +0000 Subject: [PATCH 2/2] Remove unsupported Python 2.7 from CI --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c57b6e2..317f281 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,6 @@ jobs: - ubuntu-latest - windows-latest python-version: - - "2.7" - "3.8" - "3.9" - "3.10"