add windows to github ci

Requires use of tox <=3.8.3.

See https://github.com/tox-dev/tox/issues/1550
This commit is contained in:
Jacob Pavlock 2020-07-20 15:31:05 -07:00
parent 78d8e31eeb
commit 657f3d3d49

View file

@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest]
platform: [ubuntu-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9-dev]
env:
@ -19,7 +19,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install base dependencies
# tox fails on Windows if version > 3.8.3
- name: Install base dependencies - Windows
if: matrix.platform == 'windows-latest'
run: |
python -m pip install --upgrade pip
python -m pip install tox==3.8.3 sphinx
- name: Install base dependencies - Ubuntu
if: matrix.platform != 'windows-latest'
run: |
python -m pip install --upgrade pip
python -m pip install tox sphinx