ci: ignore collect import error

This commit is contained in:
Fu Hanxi 2024-10-16 09:56:54 +02:00
parent 910bea1a1d
commit bd26feef9b
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
2 changed files with 7 additions and 1 deletions

View File

@ -309,7 +309,11 @@ generate_build_child_pipeline:
- non_test_related_apps.txt
expire_in: 1 week
when: always
variables:
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
# requires basic pytest dependencies
- run_cmd bash install.sh --enable-pytest
- run_cmd python tools/ci/dynamic_pipelines/scripts/generate_build_child_pipeline.py
build_child_pipeline:

View File

@ -117,8 +117,10 @@ check_test_scripts_build_test_rules:
extends:
- .pre_check_template
- .before_script:build
variables:
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
# required pytest related packages
# requires basic pytest dependencies
- run_cmd bash install.sh --enable-pytest
- python tools/ci/check_build_test_rules.py check-test-scripts examples/ tools/test_apps components