Skip to content

Commit 96ea512

Browse files
authored
Merge pull request #10 from Code0x58/codex/extend-ci-matrix-for-python-2.7-and-windows
Expand CI matrix to cover Windows
2 parents 8ff27a0 + 7aa9c1f commit 96ea512

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ 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:
1922
- "3.8"
2023
- "3.9"
@@ -24,6 +27,9 @@ jobs:
2427
- "3.13"
2528
- "3.14"
2629
- "pypy-3.9"
30+
exclude:
31+
- os: windows-latest
32+
python-version: "pypy-3.9"
2733
steps:
2834
- name: Check out repository
2935
uses: actions/checkout@v4
@@ -34,14 +40,15 @@ jobs:
3440
python-version: ${{ matrix.python-version }}
3541

3642
- name: Install system dependencies
43+
if: runner.os == 'Linux'
3744
run: |
3845
sudo apt-get update
3946
sudo apt-get install -y zip p7zip-full
4047
4148
- name: Install Python dependencies
4249
run: |
4350
python -m pip install --upgrade pip
44-
pip install . pytest pytest-cov
51+
python -m pip install . pytest pytest-cov
4552
4653
- name: Run tests
4754
run: pytest -vv --cov=jsonstore --cov-report=xml --junitxml=test-results.xml

0 commit comments

Comments
 (0)