Skip to content

Commit 6a901ea

Browse files
committed
Forgot that wayland is not built on CI
1 parent dbc1ade commit 6a901ea

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

kitty_tests/check_build.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
import os
77
import unittest
88

9+
from . import BaseTest
910

10-
class TestBuild(unittest.TestCase):
11+
12+
class TestBuild(BaseTest):
1113

1214
def test_exe(self) -> None:
1315
from kitty.constants import kitty_exe
@@ -30,7 +32,10 @@ def test_loading_shaders(self) -> None:
3032

3133
def test_glfw_modules(self) -> None:
3234
from kitty.constants import is_macos, glfw_path
33-
modules = ('cocoa',) if is_macos else ('x11', 'wayland')
35+
linux_backends = ['x11']
36+
if not self.is_ci:
37+
linux_backends.append('wayland')
38+
modules = ['cocoa'] if is_macos else linux_backends
3439
for name in modules:
3540
path = glfw_path(name)
3641
self.assertTrue(os.path.isfile(path))

0 commit comments

Comments
 (0)