Mercurial > evolve
changeset 6646:f8ae37ff5bfb
ci: update pytype job recipe to be more similar to the one in core
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 26 Dec 2023 14:55:35 -0300 |
parents | 4f0ec124224f |
children | 15ba756c5d28 |
files | .gitlab-ci.yml |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitlab-ci.yml Fri Nov 03 15:26:57 2023 -0300 +++ b/.gitlab-ci.yml Tue Dec 26 14:55:35 2023 -0300 @@ -10,9 +10,13 @@ image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd script: - *prepare_hg + - hg clone /ci/repos/mercurial/ /tmp/mercurial-ci/ --noupdate --config phases.publish=no + - hg -R /tmp/mercurial-ci/ update "$hg_rev" + - make -C /tmp/mercurial-ci/ local PYTHON=$PYTHON + - $PYTHON -m pip install --user -U libcst==0.3.20 pytype==2022.11.18 + - (cd /tmp/mercurial-ci/ && ./contrib/setup-pytype.sh) - pytype --version - - jobs=$(python3 -c 'import multiprocessing; print(multiprocessing.cpu_count())') - - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true + - pytype --keep-going --jobs auto -P /tmp/mercurial-ci/:hgext3rd hgext3rd || true when: manual variables: