Skip to content

Commit cffa5d5

Browse files
committed
ci: also test on macOS and Windows with ONLY Python 3.9
Don't want our build matrix to get TOO ridiculous, but one build on each other platform is good enough for sanity checks.
1 parent f55e08f commit cffa5d5

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
@@ -15,17 +15,24 @@ on:
1515
jobs:
1616
tests:
1717
name: Test suite
18-
runs-on: ubuntu-latest
18+
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21+
os: [ubuntu-latest]
2122
python-version:
2223
- 3.6
2324
- 3.7
2425
- 3.8
2526
- 3.9
27+
include:
28+
# experimental testing on non-Linux platforms
29+
- python-version: 3.9
30+
os: windows-latest
31+
- python-version: 3.9
32+
os: macos-latest
2633
steps:
2734
- uses: actions/checkout@v2
28-
- name: Set up Python ${{ matrix.python-version }}
35+
- name: Set up Python ${{ matrix.python-version }} on ${{ runner.os }}
2936
uses: actions/setup-python@v2
3037
with:
3138
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)