1
0
Fork 0

Conditional didn't work in CI. (#1237)

* Conditional didn't work in CI.

* Try to fix flaky exit.
This commit is contained in:
Irina Truong 2021-01-18 13:50:03 -08:00 committed by GitHub
parent 2a5e3df0d7
commit 000102ef9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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: |

View File

@ -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")