Mercurial > forks > mercurial
changeset 53184:2cbbb4e20cbb
ci: stop running pytype in a dedicated clone
As we are not running around permission nor modifying the source from a non-root
user, we don't need this step anymore.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 17 Apr 2025 09:11:16 +0200 |
parents | c0671315fc12 |
children | 6b0a7fdee9d9 |
files | contrib/heptapod-ci.yml |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml Thu Apr 17 09:08:37 2025 +0200 +++ b/contrib/heptapod-ci.yml Thu Apr 17 09:11:16 2025 +0200 @@ -405,19 +405,10 @@ PYTHON: python3.13 check-pytype: - extends: .test-rust + extends: .all stage: checks image: registry.heptapod.net/mercurial/ci-images/hg-core-pytype:v3.0 - before_script: - - rm -rf "${TMP_WORK_DIR}"/mercurial-ci/ # Clean slate if not using containers - - hg clone . "${TMP_WORK_DIR}"/mercurial-ci/ --noupdate --config phases.publish=no - - hg -R "${TMP_WORK_DIR}"/mercurial-ci/ update `hg log --rev '.' --template '{node}'` - - cd "${TMP_WORK_DIR}"/mercurial-ci/ - - echo $HGWITHRUSTEXT - # We need to unset HGWITHRUSTEXT since editable install is broken with Rust - - unset HGWITHRUSTEXT script: - - echo "Entering script section" - importlab --trim --tree mercurial hgext hgext3rd hgdemandimport | contrib/import-lab-tree-color.sh - bash contrib/check-pytype.sh