Skip to content

Commit ba39d29

Browse files
committed
ci: runs on ubuntu and windows
1 parent 1b8a648 commit ba39d29

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,24 @@ on:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-latest
13-
1412
strategy:
1513
matrix:
14+
os: [ubuntu-latest, windows-latest]
1615
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
1716
pytest-version: [4.6.11, 5.4.3]
1817

1918
exclude:
2019
# pytest 5.x.x doesn't support Python 2.7
21-
- python-version: 2.7
20+
- os: ubuntu-latest
21+
python-version: 2.7
2222
pytest-version: 5.4.3
23+
- os: windows-latest
24+
python-version: 2.7
25+
pytest-version: 5.4.3
26+
27+
runs-on: ${{ matrix.os }}
2328

24-
name: Python ${{ matrix.python-version }}, pytest ${{ matrix.pytest-version }}
29+
name: ${{ matrix.os }}, Python ${{ matrix.python-version }}, pytest ${{ matrix.pytest-version }}
2530
steps:
2631
- uses: actions/checkout@v2
2732

0 commit comments

Comments
 (0)