mirror of https://github.com/dbcli/pgcli
Conditional didn't work in CI. (#1237)
* Conditional didn't work in CI. * Try to fix flaky exit.
This commit is contained in:
parent
2a5e3df0d7
commit
000102ef9b
|
@ -57,7 +57,7 @@ jobs:
|
|||
|
||||
- name: Run Black
|
||||
run: pip install black && black --check .
|
||||
if: ${{ matrix.python_version == '3.6' }}
|
||||
if: matrix.python-version == '3.6'
|
||||
|
||||
- name: Coverage
|
||||
run: |
|
||||
|
|
|
@ -65,6 +65,7 @@ def step_ctrl_d(context):
|
|||
Send Ctrl + D to hopefully exit.
|
||||
"""
|
||||
# turn off pager before exiting
|
||||
context.cli.sendcontrol("c")
|
||||
context.cli.sendline("\pset pager off")
|
||||
wrappers.wait_prompt(context)
|
||||
context.cli.sendcontrol("d")
|
||||
|
|
Loading…
Reference in New Issue