Skip to content

Experiment with upgrading click #1241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install less pager
run: sudo apt-get install less

- name: Start MySQL
run: |
sudo /etc/init.d/mysql start
Expand All @@ -42,6 +45,10 @@ jobs:
env:
PYTEST_PASSWORD: root
PYTEST_HOST: 127.0.0.1
TERM: xterm
# TERM: xterm
# PAGER: cat
# EDITOR: touch
# LESS: -RXF
PYTHONUNBUFFERED: 1
run: |
uv run tox -e py${{ matrix.python-version }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [{ name = "Mycli Core Team", email = "[email protected]" }]
urls = { homepage = "http://mycli.net" }

dependencies = [
"click >= 7.0,<8.1.8",
"click >= 7.0",
"cryptography >= 1.0.0",
"Pygments>=1.6",
"prompt_toolkit>=3.0.6,<4.0.0",
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ passenv = PYTEST_HOST
PYTEST_PASSWORD
PYTEST_PORT
PYTEST_CHARSET
PYTHONUNBUFFERED
TERM
PAGER
LESS_IS_MORE
LESS
EDITOR
commands = uv pip install -e .[dev,ssh]
coverage run -m pytest -v test
coverage report -m
Expand Down
Loading