mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
Don't attempt tui stuff on Python 3.7, refs #572
This commit is contained in:
parent
18f190e283
commit
fedd477e01
2 changed files with 6 additions and 2 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue