diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b169731..42f4bed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - name: Get required packages for Blender run: | sudo apt-get update -qq - sudo apt-get install -y blender wget python3 python3-pip zip libglu1 libfreetype6 libglib2.0-0 libsm6 libxrender1 libxext6 + sudo apt-get install -y blender wget python3 python3-pip zip libglu1 libfreetype6 - name: Get required pip packages run: pip3 install -r requirements.txt diff --git a/tests/python/screencast_keys_test/common.py b/tests/python/screencast_keys_test/common.py index bcbe0f6..1951f65 100644 --- a/tests/python/screencast_keys_test/common.py +++ b/tests/python/screencast_keys_test/common.py @@ -52,7 +52,12 @@ def operator_exists(idname): op_as_string(idname) return True except: - return False + try: + from bpy.ops import _op_as_string + _op_as_string(idname) + return True + except: + return False def menu_exists(idname):