ci: do fetch submodules for python lint

This commit is contained in:
morris 2020-05-19 21:53:21 +08:00
parent d003f96a9d
commit fef40fdb72
2 changed files with 8 additions and 2 deletions

View File

@ -78,7 +78,6 @@ before_script:
# Set some options and environment for CI # Set some options and environment for CI
- source tools/ci/configure_ci_environment.sh - source tools/ci/configure_ci_environment.sh
- *setup_tools_unless_target_test - *setup_tools_unless_target_test
- *fetch_submodules - *fetch_submodules
# used for check scripts which we want to run unconditionally # used for check scripts which we want to run unconditionally
@ -117,6 +116,13 @@ before_script:
dependencies: [] dependencies: []
extends: .before_script_lesser extends: .before_script_lesser
.python_lint_template:
stage: pre_check
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
tags:
- host_test
dependencies: []
.macos_build_template: .macos_build_template:
stage: build stage: build
tags: tags:

View File

@ -54,7 +54,7 @@ check_examples_rom_header:
- tools/ci/check_examples_rom_header.sh - tools/ci/check_examples_rom_header.sh
check_python_style: check_python_style:
extends: .check_job_template_with_filter extends: .python_lint_template
artifacts: artifacts:
when: on_failure when: on_failure
paths: paths: