mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-05 23:51:29 +02:00
Install various shells ON CI so we can test with them
This commit is contained in:
5
.github/workflows/ci.py
vendored
5
.github/workflows/ci.py
vendored
@@ -35,8 +35,9 @@ def install_deps():
|
||||
else:
|
||||
run('sudo apt-get update')
|
||||
run('sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates'
|
||||
' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev'
|
||||
' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev librsync-dev uuid-dev')
|
||||
' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh'
|
||||
' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev librsync-dev uuid-dev'
|
||||
' zsh bash dash fish')
|
||||
if is_bundle:
|
||||
install_bundle()
|
||||
else:
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import unittest
|
||||
from contextlib import contextmanager
|
||||
from tempfile import TemporaryDirectory
|
||||
|
||||
@@ -43,6 +45,7 @@ class ShellIntegration(BaseTest):
|
||||
i -= 1
|
||||
yield pty
|
||||
|
||||
@unittest.skipUnless(shutil.which('zsh'), 'zsh not installed')
|
||||
def test_zsh_integration(self):
|
||||
ps1, rps1 = 'left>', '<right'
|
||||
with self.run_shell(
|
||||
|
||||
Reference in New Issue
Block a user