diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aae1f24..a214a312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 }} diff --git a/pyproject.toml b/pyproject.toml index f453d8b4..4a4bed03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [{ name = "Mycli Core Team", email = "mycli-dev@googlegroups.com" }] 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", diff --git a/tox.ini b/tox.ini index 6f4ae816..53873fa0 100644 --- a/tox.ini +++ b/tox.ini @@ -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