From 657f3d3d49c7db981194d14b2362c00c2911ccd0 Mon Sep 17 00:00:00 2001 From: Jacob Pavlock Date: Mon, 20 Jul 2020 15:31:05 -0700 Subject: [PATCH] add windows to github ci Requires use of tox <=3.8.3. See https://github.com/tox-dev/tox/issues/1550 --- .github/workflows/ci.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48d43d059..fa4712d7f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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