##// END OF EJS Templates
ci: add a "all" template to easily control "when" test run...
marmoute -
r48633:f6879956 stable
parent child Browse files
Show More
@@ -10,7 +10,11 b' variables:'
10 HG_CI_IMAGE_TAG: "latest"
10 HG_CI_IMAGE_TAG: "latest"
11 TEST_HGTESTS_ALLOW_NETIO: "0"
11 TEST_HGTESTS_ALLOW_NETIO: "0"
12
12
13 .all_template: &all
14 when: always
15
13 .runtests_template: &runtests
16 .runtests_template: &runtests
17 <<: *all
14 stage: tests
18 stage: tests
15 # The runner made a clone as root.
19 # The runner made a clone as root.
16 # We make a new clone owned by user used to run the step.
20 # We make a new clone owned by user used to run the step.
@@ -38,6 +42,7 b' checks-py3:'
38 PYTHON: python3
42 PYTHON: python3
39
43
40 rust-cargo-test-py2: &rust_cargo_test
44 rust-cargo-test-py2: &rust_cargo_test
45 <<: *all
41 stage: tests
46 stage: tests
42 script:
47 script:
43 - echo "python used, $PYTHON"
48 - echo "python used, $PYTHON"
@@ -50,6 +55,7 b' rust-cargo-test-py3:'
50 PYTHON: python3
55 PYTHON: python3
51
56
52 phabricator-refresh:
57 phabricator-refresh:
58 <<: *all
53 stage: phabricator
59 stage: phabricator
54 variables:
60 variables:
55 DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
61 DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
@@ -145,6 +151,7 b' check-pytype-py3:'
145 # run-tests.py- it is needed to make run-tests.py generate a `python3` script
151 # run-tests.py- it is needed to make run-tests.py generate a `python3` script
146 # that satisfies the various shebang lines and delegates to `py -3`.
152 # that satisfies the various shebang lines and delegates to `py -3`.
147 .window_runtests_template: &windows_runtests
153 .window_runtests_template: &windows_runtests
154 <<: *all
148 stage: tests
155 stage: tests
149 before_script:
156 before_script:
150 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt'
157 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt'
General Comments 0
You need to be logged in to leave comments. Login now