##// END OF EJS Templates
WIP test new CI image
Raphaël Gomès -
r52588:d859554a default
parent child Browse files
Show More
@@ -22,7 +22,7 workflow:
22 22 stages:
23 23 - tests
24 24
25 image: registry.heptapod.net/mercurial/ci-images/mercurial-core:$HG_CI_IMAGE_TAG
25 image: registry.heptapod.net/mercurial/ci-images/mercurial-core@sha256:16720f3e2ba29408f816b87407841d77a01ea6e9fe29894181cea6513cc8bfec
26 26
27 27 variables:
28 28 PYTHON: python
@@ -39,6 +39,8 variables:
39 39 # The runner made a clone as root.
40 40 # We make a new clone owned by user used to run the step.
41 41 before_script:
42 - whoami
43 - pyenv shell 3.7.17
42 44 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
43 45 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
44 46 - cd /tmp/mercurial-ci/
@@ -55,7 +57,7 checks:
55 57 <<: *runtests
56 58 variables:
57 59 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
58 PYTHON: python3
60 PYTHON: python
59 61 CI_CLEVER_CLOUD_FLAVOR: S
60 62
61 63 rust-cargo-test:
@@ -63,17 +65,18 rust-cargo-test:
63 65 stage: tests
64 66 script:
65 67 - echo "python used, $PYTHON"
68 - $PYTHON --version
66 69 - make rust-tests
67 70 - make cargo-clippy
68 71 variables:
69 PYTHON: python3
72 PYTHON: python
70 73 CI_CLEVER_CLOUD_FLAVOR: S
71 74
72 75 test-c:
73 76 <<: *runtests
74 77 variables:
75 78 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
76 PYTHON: python3
79 PYTHON: python
77 80 TEST_HGMODULEPOLICY: "c"
78 81 TEST_HGTESTS_ALLOW_NETIO: "1"
79 82
@@ -81,7 +84,7 test-pure:
81 84 <<: *runtests
82 85 variables:
83 86 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
84 PYTHON: python3
87 PYTHON: python
85 88 TEST_HGMODULEPOLICY: "py"
86 89
87 90 test-rust:
@@ -89,7 +92,7 test-rust:
89 92 variables:
90 93 HGWITHRUSTEXT: cpython
91 94 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
92 PYTHON: python3
95 PYTHON: python
93 96 TEST_HGMODULEPOLICY: "rust+c"
94 97
95 98 test-rhg:
@@ -97,19 +100,20 test-rhg:
97 100 variables:
98 101 HGWITHRUSTEXT: cpython
99 102 RUNTEST_ARGS: "--rust --rhg --blacklist /tmp/check-tests.txt"
100 PYTHON: python3
103 PYTHON: python
101 104 TEST_HGMODULEPOLICY: "rust+c"
102 105
103 106 test-chg:
104 107 <<: *runtests
105 108 variables:
106 PYTHON: python3
109 PYTHON: python
107 110 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
108 111 TEST_HGMODULEPOLICY: "c"
109 112
110 113 check-pytype:
111 114 extends: .runtests_template
112 115 before_script:
116 - pyenv shell 3.7.17
113 117 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
114 118 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
115 119 - cd /tmp/mercurial-ci/
@@ -120,7 +124,7 check-pytype:
120 124 - echo "Entering script section"
121 125 - sh contrib/check-pytype.sh
122 126 variables:
123 PYTHON: python3
127 PYTHON: python
124 128
125 129 # `sh.exe --login` sets a couple of extra environment variables that are defined
126 130 # in the MinGW shell, but switches CWD to /home/$username. The previous value
General Comments 0
You need to be logged in to leave comments. Login now