summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-12-23 09:41:45 +0100
committerJulian Berman <Julian@GrayVines.com>2019-12-23 09:41:45 +0100
commit753ff5608449c8c6a528a5efd46580b2d0bc69ff (patch)
treea9c708fafba4a5100307ee9618e66a53320538d3 /.github
parent72114375e7b7a43d7c0490e1a410498f3a8aa0d4 (diff)
downloadjsonschema-753ff5608449c8c6a528a5efd46580b2d0bc69ff.tar.gz
Do this only on Windows, since 3.5's venv is super old.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce3c76a..b8b041d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -140,6 +140,9 @@ jobs:
run: brew install enchant
if: runner.os == 'macOS' && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install tox
- run: python -m pip install tox tox-venv
+ run: python -m pip install tox
+ - name: Use venv on Windows
+ run: python -m pip install tox-venv
+ if: runner.os == 'Windows'
- name: Run tox
run: python -m tox -e "${{ matrix.python-version.toxenv }}"