Skip to content

Commit f9b3b13

Browse files
authored
Add testing for windows (#34)
1 parent 6cc4f20 commit f9b3b13

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,27 @@ on: [push, pull_request]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-18.04
8+
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
python-version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
11+
os: [ubuntu-18.04, windows-2019]
12+
python-version: ["2.7","3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
1213

14+
exclude:
15+
- python-version: "2.7"
16+
os: windows-2019
17+
- python-version: "3.4"
18+
os: windows-2019
19+
- python-version: "3.5"
20+
os: windows-2019
1321
steps:
1422
- uses: actions/checkout@v2
1523
- name: Set up Python ${{ matrix.python-version }}
1624
uses: actions/setup-python@v2
1725
with:
1826
python-version: ${{ matrix.python-version }}
1927
# use pip rather than easy_install to install pymongo
20-
- name: install pymongo
28+
- name: Install pymongo
2129
run: |
2230
python -m pip install pymongo
2331
- name: Test with python

0 commit comments

Comments
 (0)