ci: add test marks linter

This commit is contained in:
igor.udot
2024-12-02 10:47:32 +08:00
parent 47df2ed524
commit bbcef0570d
13 changed files with 663 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import logging
import os
@@ -6,6 +6,8 @@ import socket
from typing import Any
from typing import List
from idf_ci_utils import IDF_PATH
try:
import netifaces
except ImportError:
@@ -17,8 +19,8 @@ except ImportError:
import yaml
ENV_CONFIG_FILE_SEARCH = [
os.path.join(os.environ['IDF_PATH'], 'EnvConfig.yml'),
os.path.join(os.environ['IDF_PATH'], 'ci-test-runner-configs', os.environ.get('CI_RUNNER_DESCRIPTION', ''), 'EnvConfig.yml'),
os.path.join(IDF_PATH, 'EnvConfig.yml'),
os.path.join(IDF_PATH, 'ci-test-runner-configs', os.environ.get('CI_RUNNER_DESCRIPTION', ''), 'EnvConfig.yml'),
]
ENV_CONFIG_TEMPLATE = '''
$IDF_PATH/EnvConfig.yml: