comparison contrib/heptapod-ci.yml @ 51699:bd1483fd7088

Latest image and pytype fix
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 22 Jul 2024 16:49:38 +0200
parents 6aa74bcd4255
children 7f0cb9ee0534
comparison
equal deleted inserted replaced
51698:8f0b0df79039 51699:bd1483fd7088
20 when: always 20 when: always
21 21
22 stages: 22 stages:
23 - tests 23 - tests
24 24
25 image: registry.heptapod.net/mercurial/ci-images/mercurial-core@sha256:0e75333b941efb5cfe81543e97fb15931fa7b6eb5d8f5e4d5dbdf1df008a4a94 25 image: registry.heptapod.net/mercurial/ci-images/mercurial-core@sha256:dc95edf69e2f9baee0eba74a92514b0d6852b98aba48495831a81a495f58c1e7
26 26
27 variables: 27 variables:
28 PYTHON: python 28 PYTHON: python
29 TEST_HGMODULEPOLICY: "allow" 29 TEST_HGMODULEPOLICY: "allow"
30 HG_CI_IMAGE_TAG: "v1.0" 30 HG_CI_IMAGE_TAG: "v1.0"
109 - echo "PATH, $PATH" 109 - echo "PATH, $PATH"
110 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no 110 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
111 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` 111 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
112 - cd /tmp/mercurial-ci/ 112 - cd /tmp/mercurial-ci/
113 - make local PYTHON=$PYTHON 113 - make local PYTHON=$PYTHON
114 - $PYTHON -m pip install --user -U libcst==0.3.20 pytype==2022.11.18
115 - ./contrib/setup-pytype.sh 114 - ./contrib/setup-pytype.sh
116 script: 115 script:
117 - echo "Entering script section" 116 - echo "Entering script section"
118 - sh contrib/check-pytype.sh 117 - sh contrib/check-pytype.sh
119 118