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
- source tools/ci/configure_ci_environment.sh
- *setup_tools_unless_target_test
- *fetch_submodules
# used for check scripts which we want to run unconditionally
@ -117,6 +116,13 @@ before_script:
dependencies: []
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:
stage: build
tags:

View file

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