Don't attempt tui stuff on Python 3.7, refs #572

This commit is contained in:
Simon Willison 2023-07-22 15:11:38 -07:00
commit fedd477e01
2 changed files with 6 additions and 2 deletions

View file

@ -26,7 +26,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test,tui]'
pip install -e '.[test]'
- name: Run tests
run: |
pytest

View file

@ -28,7 +28,10 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test,mypy,flake8,tui]'
pip install -e '.[test,mypy,flake8]'
- name: Optionally install tui dependencies (not 3.7)
if: matrix.python-version != '3.7'
run: pip install -e '.[tui]'
- name: Optionally install numpy
if: matrix.numpy == 1
run: pip install numpy
@ -53,5 +56,6 @@ jobs:
- name: Check formatting
run: black . --check
- name: Check if cog needs to be run
if: matrix.python-version != '3.7'
run: |
cog --check README.md docs/*.rst