diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2021-01-18 13:50:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 13:50:03 -0800 |
commit | 000102ef9b617e3da1f99d0b637602205304db11 (patch) | |
tree | 26c564e599edcf85e703db3a1f4b11523db5c4f8 | |
parent | 2a5e3df0d707405b7dd6769d1f6ab58845176614 (diff) |
Conditional didn't work in CI. (#1237)
* Conditional didn't work in CI.
* Try to fix flaky exit.
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | tests/features/steps/basic_commands.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258e074e..ce54d6f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/tests/features/steps/basic_commands.py b/tests/features/steps/basic_commands.py index 10696621..a1fca8b0 100644 --- a/tests/features/steps/basic_commands.py +++ b/tests/features/steps/basic_commands.py @@ -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") |