Skip to content

Commit 081d6a3

Browse files
committed
Install various shells ON CI so we can test with them
1 parent c9cc832 commit 081d6a3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ def install_deps():
3535
else:
3636
run('sudo apt-get update')
3737
run('sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates'
38-
' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev'
39-
' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev librsync-dev uuid-dev')
38+
' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh'
39+
' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev librsync-dev uuid-dev'
40+
' zsh bash dash fish')
4041
if is_bundle:
4142
install_bundle()
4243
else:

kitty_tests/shell_integration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44

55
import os
6+
import shutil
7+
import unittest
68
from contextlib import contextmanager
79
from tempfile import TemporaryDirectory
810

@@ -43,6 +45,7 @@ def run_shell(self, shell='zsh', rc=''):
4345
i -= 1
4446
yield pty
4547

48+
@unittest.skipUnless(shutil.which('zsh'), 'zsh not installed')
4649
def test_zsh_integration(self):
4750
ps1, rps1 = 'left>', '<right'
4851
with self.run_shell(

0 commit comments

Comments
 (0)