mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
ci: move log dir from pytest_embedded_log to pytest-embedded
This commit is contained in:
parent
32c0b6c3f1
commit
9228c6f5dd
2
.gitignore
vendored
2
.gitignore
vendored
@ -96,4 +96,6 @@ dependencies.lock
|
|||||||
managed_components
|
managed_components
|
||||||
|
|
||||||
# pytest log
|
# pytest log
|
||||||
|
pytest-embedded/
|
||||||
|
# legacy one
|
||||||
pytest_embedded_log/
|
pytest_embedded_log/
|
||||||
|
@ -307,7 +307,7 @@ test_pytest_qemu:
|
|||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- XUNIT_RESULT.xml
|
- XUNIT_RESULT.xml
|
||||||
- pytest_embedded_log/
|
- pytest-embedded/
|
||||||
reports:
|
reports:
|
||||||
junit: XUNIT_RESULT.xml
|
junit: XUNIT_RESULT.xml
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
@ -332,7 +332,7 @@ test_pytest_linux:
|
|||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- XUNIT_RESULT.xml
|
- XUNIT_RESULT.xml
|
||||||
- pytest_embedded_log/
|
- pytest-embedded/
|
||||||
reports:
|
reports:
|
||||||
junit: XUNIT_RESULT.xml
|
junit: XUNIT_RESULT.xml
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- XUNIT_RESULT.xml
|
- XUNIT_RESULT.xml
|
||||||
- pytest_embedded_log/
|
- pytest-embedded/
|
||||||
reports:
|
reports:
|
||||||
junit: XUNIT_RESULT.xml
|
junit: XUNIT_RESULT.xml
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
@ -13,6 +13,7 @@ addopts =
|
|||||||
--logfile-extension ".txt"
|
--logfile-extension ".txt"
|
||||||
--check-duplicates y
|
--check-duplicates y
|
||||||
--ignore-glob "*/managed_components/*"
|
--ignore-glob "*/managed_components/*"
|
||||||
|
--ignore pytest-embedded
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
# ignore DeprecationWarning
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# internal use only for CI
|
# internal use only for CI
|
||||||
# some CI related util functions
|
# some CI related util functions
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
import contextlib
|
import contextlib
|
||||||
@ -13,7 +13,12 @@ import sys
|
|||||||
from contextlib import redirect_stdout
|
from contextlib import redirect_stdout
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING, Any, List, Optional, Set, Union
|
from typing import Any
|
||||||
|
from typing import List
|
||||||
|
from typing import Optional
|
||||||
|
from typing import Set
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
from typing import Union
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from idf_py_actions.constants import PREVIEW_TARGETS, SUPPORTED_TARGETS
|
from idf_py_actions.constants import PREVIEW_TARGETS, SUPPORTED_TARGETS
|
||||||
@ -25,7 +30,7 @@ except ImportError:
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from _pytest.python import Function
|
from _pytest.python import Function
|
||||||
|
|
||||||
IDF_PATH = os.path.abspath(os.getenv('IDF_PATH', os.path.join(os.path.dirname(__file__), '..', '..')))
|
IDF_PATH: str = os.path.abspath(os.getenv('IDF_PATH', os.path.join(os.path.dirname(__file__), '..', '..')))
|
||||||
|
|
||||||
|
|
||||||
def get_submodule_dirs(full_path: bool = False) -> List[str]:
|
def get_submodule_dirs(full_path: bool = False) -> List[str]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user