Skip to content

Commit 46f2cd7

Browse files
committed
Expand CI matrix for Python 2.7 and Windows
1 parent e487984 commit 46f2cd7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ on:
99

1010
jobs:
1111
tests:
12-
runs-on: ubuntu-latest
12+
runs-on: ${{ matrix.os }}
1313
env:
1414
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
18+
os:
19+
- ubuntu-latest
20+
- windows-latest
1821
python-version:
22+
- "2.7"
1923
- "3.8"
2024
- "3.9"
2125
- "3.10"
@@ -24,6 +28,9 @@ jobs:
2428
- "3.13"
2529
- "3.14"
2630
- "pypy-3.9"
31+
exclude:
32+
- os: windows-latest
33+
python-version: "pypy-3.9"
2734
steps:
2835
- name: Check out repository
2936
uses: actions/checkout@v4
@@ -34,14 +41,15 @@ jobs:
3441
python-version: ${{ matrix.python-version }}
3542

3643
- name: Install system dependencies
44+
if: runner.os == 'Linux'
3745
run: |
3846
sudo apt-get update
3947
sudo apt-get install -y zip p7zip-full
4048
4149
- name: Install Python dependencies
4250
run: |
4351
python -m pip install --upgrade pip
44-
pip install . pytest pytest-cov
52+
python -m pip install . pytest pytest-cov
4553
4654
- name: Run tests
4755
run: pytest -vv --cov=jsonstore --cov-report=xml --junitxml=test-results.xml

0 commit comments

Comments
 (0)