Skip to content

Commit fedd477

Browse files
committed
Don't attempt tui stuff on Python 3.7, refs #572
1 parent 18f190e commit fedd477

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
${{ runner.os }}-pip-
2727
- name: Install dependencies
2828
run: |
29-
pip install -e '.[test,tui]'
29+
pip install -e '.[test]'
3030
- name: Run tests
3131
run: |
3232
pytest

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
${{ runner.os }}-pip-
2929
- name: Install dependencies
3030
run: |
31-
pip install -e '.[test,mypy,flake8,tui]'
31+
pip install -e '.[test,mypy,flake8]'
32+
- name: Optionally install tui dependencies (not 3.7)
33+
if: matrix.python-version != '3.7'
34+
run: pip install -e '.[tui]'
3235
- name: Optionally install numpy
3336
if: matrix.numpy == 1
3437
run: pip install numpy
@@ -53,5 +56,6 @@ jobs:
5356
- name: Check formatting
5457
run: black . --check
5558
- name: Check if cog needs to be run
59+
if: matrix.python-version != '3.7'
5660
run: |
5761
cog --check README.md docs/*.rst

0 commit comments

Comments
 (0)