Skip to content

Commit f86dd47

Browse files
committed
experiment with upgrading click
removing "less" in the build step
1 parent ba24678 commit f86dd47

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

28+
- name: Install less pager
29+
run: sudo apt-get install less
30+
2831
- name: Start MySQL
2932
run: |
3033
sudo /etc/init.d/mysql start
@@ -43,5 +46,8 @@ jobs:
4346
PYTEST_PASSWORD: root
4447
PYTEST_HOST: 127.0.0.1
4548
TERM: xterm
49+
PAGER: less
50+
EDITOR: touch
51+
LESS: -RXF
4652
run: |
4753
uv run tox -e py${{ matrix.python-version }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [{ name = "Mycli Core Team", email = "[email protected]" }]
99
urls = { homepage = "http://mycli.net" }
1010

1111
dependencies = [
12-
"click >= 7.0,<8.1.8",
12+
"click >= 7.0",
1313
"cryptography >= 1.0.0",
1414
"Pygments>=1.6",
1515
"prompt_toolkit>=3.0.6,<4.0.0",

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ passenv = PYTEST_HOST
99
PYTEST_PASSWORD
1010
PYTEST_PORT
1111
PYTEST_CHARSET
12+
TERM
13+
PAGER
14+
LESS_IS_MORE
15+
LESS
16+
EDITOR
1217
commands = uv pip install -e .[dev,ssh]
1318
coverage run -m pytest -v test
1419
coverage report -m

0 commit comments

Comments
 (0)