mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
tools/ci: fix import error when running ttfw tests locally
This commit is contained in:
@@ -17,7 +17,11 @@ except ImportError:
|
||||
import gitlab_api
|
||||
from tiny_test_fw.Utility import CIAssignTest
|
||||
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS, PREVIEW_TARGETS
|
||||
try:
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS, PREVIEW_TARGETS
|
||||
except ImportError:
|
||||
SUPPORTED_TARGETS = []
|
||||
PREVIEW_TARGETS = []
|
||||
|
||||
IDF_PATH_FROM_ENV = os.getenv('IDF_PATH')
|
||||
|
||||
|
Reference in New Issue
Block a user