summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-12-23 08:42:11 +0100
committerJulian Berman <Julian@GrayVines.com>2019-12-23 08:42:11 +0100
commit72114375e7b7a43d7c0490e1a410498f3a8aa0d4 (patch)
tree2e859dc3608b151cd6ebf36a695d4c84cfffe702 /.github/workflows/ci.yml
parent35c73a709982c61e35ae61217b5a62c59de5fcbe (diff)
downloadjsonschema-72114375e7b7a43d7c0490e1a410498f3a8aa0d4.tar.gz
Use runner, which always exists even if we are not matrixed.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 792ba16..ce3c76a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -135,10 +135,10 @@ jobs:
run: python -m pip install -U pip setuptools
- name: Install dependencies
run: sudo apt-get install -y libenchant-dev libxml2-dev libxslt-dev
- if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.python-version.toxenv, 'docs-')
+ if: runner.os == 'Linux' && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install dependencies
run: brew install enchant
- if: startsWith(matrix.os, 'mac') && startsWith(matrix.python-version.toxenv, 'docs-')
+ if: runner.os == 'macOS' && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install tox
run: python -m pip install tox tox-venv
- name: Run tox